Skip to content

Commit

Permalink
Avoid copiler warning at sprintf
Browse files Browse the repository at this point in the history
PipeHelperWindows.c:15:5: warning: implicit declaration of function
'sprintf' [-Wimplicit-function-declaration]
     sprintf( name, "\\\\.\\Pipe\\pipeHelper-%u-%i",
          ^~~~~~~
  • Loading branch information
larskanis committed Jan 24, 2019
1 parent 4fc7647 commit da7b3c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/ffi/fixtures/PipeHelperWindows.c
Expand Up @@ -6,6 +6,7 @@

#ifdef _WIN32
#include <windows.h>
#include <stdio.h>
#include "PipeHelper.h"

int pipeHelperCreatePipe(FD_TYPE pipefd[2])
Expand Down

0 comments on commit da7b3c2

Please sign in to comment.