Created
December 10, 2011 13:10
-
-
Save dnaeon/1455128 to your computer and use it in GitHub Desktop.
pw_make/gr_make
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgdb.c:1179:22: warning: implicit declaration of function 'pw_make' is invalid in C99 [-Wimplicit-function-declaration] | |
strlcpy(u->uidstr, pw_make(pwd), sizeof(u->uidstr)); | |
^ | |
pkgdb.c:1179:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' | |
strlcpy(u->uidstr, pw_make(pwd), sizeof(u->uidstr)); | |
^~~~~~~~~~~~ | |
/usr/include/string.h:90:59: note: passing argument to parameter here | |
size_t strlcpy(char * __restrict, const char * __restrict, size_t); | |
^ | |
pkgdb.c:1207:22: warning: implicit declaration of function 'gr_make' is invalid in C99 [-Wimplicit-function-declaration] | |
strlcpy(g->gidstr, gr_make(grp), sizeof(g->gidstr)); | |
^ | |
pkgdb.c:1207:22: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' | |
strlcpy(g->gidstr, gr_make(grp), sizeof(g->gidstr)); | |
^~~~~~~~~~~~ | |
/usr/include/string.h:90:59: note: passing argument to parameter here | |
size_t strlcpy(char * __restrict, const char * __restrict, size_t); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment