diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 18:22:10 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 18:22:10 -0200 |
commit | f56a69f2cf7df1e7cdf2494c5408786e53467374 (patch) | |
tree | c2b4d72f8bd8af0de6efdccd7ae8e3028c654d08 /src/Converters.c | |
parent | c1f227f94aec6f4555182965fc0d2d8f33fef01f (diff) |
Janitor: ansification, make distcheck, compiler warnings, .gitignore.
Most "compiler" warnings were actually sparse warnings, due to
assigning a integer to a pointer, or an external symbol without
a previous declaration.
Diffstat (limited to 'src/Converters.c')
-rw-r--r-- | src/Converters.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Converters.c b/src/Converters.c index acb572e..a1f7f2b 100644 --- a/src/Converters.c +++ b/src/Converters.c @@ -487,12 +487,12 @@ Boolean XtCvtStringToPixel( colormap = *((Colormap *) args[1].addr); if (CompareISOLatin1(str, XtDefaultBackground) == 0) { - *closure_ret = False; + *closure_ret = NULL; if (pd->rv) donestr(Pixel, BlackPixelOfScreen(screen), XtRPixel) else donestr(Pixel, WhitePixelOfScreen(screen), XtRPixel); } if (CompareISOLatin1(str, XtDefaultForeground) == 0) { - *closure_ret = False; + *closure_ret = NULL; if (pd->rv) donestr(Pixel, WhitePixelOfScreen(screen), XtRPixel) else donestr(Pixel, BlackPixelOfScreen(screen), XtRPixel); } @@ -515,7 +515,7 @@ Boolean XtCvtStringToPixel( XtAppWarningMsg(pd->appContext, type, "cvtStringToPixel", XtCXtToolkitError, msg, params, &num_params); - *closure_ret = False; + *closure_ret = NULL; return False; } else { *closure_ret = (char*)True; |