diff options
author | marha <marha@users.sourceforge.net> | 2010-05-19 08:29:46 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-05-19 08:29:46 +0000 |
commit | 0c983f3cc9c6512809acba9535179961036ab632 (patch) | |
tree | 3e67226e68970cf6cfbbc2890f8c1bbc5250ff4d | |
parent | 3359060101b44baae372eb1bd783f2eb5273b595 (diff) | |
download | vcxsrv-0c983f3cc9c6512809acba9535179961036ab632.tar.gz vcxsrv-0c983f3cc9c6512809acba9535179961036ab632.tar.bz2 vcxsrv-0c983f3cc9c6512809acba9535179961036ab632.zip |
Solved compile warnings
-rw-r--r-- | libXmu/src/RdBitF.c | 6 | ||||
-rw-r--r-- | libXmu/src/WidgetNode.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libXmu/src/RdBitF.c b/libXmu/src/RdBitF.c index 073e3dfbd..da22507a1 100644 --- a/libXmu/src/RdBitF.c +++ b/libXmu/src/RdBitF.c @@ -272,7 +272,7 @@ XmuReadBitmapData(FILE *fstream, unsigned int *width, unsigned int *height, #if defined(WIN32) static int -access_file(char *path, char *pathbuf, int len_pathbuf, char **pathret) +access_file(_Xconst char *path, char *pathbuf, int len_pathbuf, char **pathret) { if (access (path, F_OK) == 0) { if (strlen (path) < len_pathbuf) @@ -288,7 +288,7 @@ access_file(char *path, char *pathbuf, int len_pathbuf, char **pathret) } static int -AccessFile(char *path, char *pathbuf, int len_pathbuf, char **pathret) +AccessFile(_Xconst char *path, char *pathbuf, int len_pathbuf, char **pathret) { #ifndef MAX_PATH #define MAX_PATH 512 @@ -362,7 +362,7 @@ AccessFile(char *path, char *pathbuf, int len_pathbuf, char **pathret) } FILE * -fopen_file(char *path, char *mode) +fopen_file(_Xconst char *path, char *mode) { char buf[MAX_PATH]; char* bufp; diff --git a/libXmu/src/WidgetNode.c b/libXmu/src/WidgetNode.c index e157ccc10..08253b406 100644 --- a/libXmu/src/WidgetNode.c +++ b/libXmu/src/WidgetNode.c @@ -57,7 +57,7 @@ static void mark_resource_owner(XmuWidgetNode*); */ static char * binsearch(char *key, char *base, int nelems, int elemsize, - int compar(_Xconst void*, _Xconst void*)) + int (*compar)(_Xconst void*, _Xconst void*)) /* * key - template of object to find * base - beginning of array |