X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fxsublim.c;h=045f2d9ffd6f8617e687a85fec2fc0657fc0e41b;hp=223ceab48bf0f2d66ec99fe92c10a0c85733c945;hb=6a1da724858673ac40aa13a9612340d8bed8c7b9;hpb=96bdd7cf6ea60c418a76921acaf0e34d6f5be930 diff --git a/hacks/xsublim.c b/hacks/xsublim.c index 223ceab4..045f2d9f 100644 --- a/hacks/xsublim.c +++ b/hacks/xsublim.c @@ -114,6 +114,13 @@ char* progname; XtAppContext app; XrmDatabase db; char* progclass = XSUBLIM_NAME; + +# ifdef __GNUC__ + __extension__ /* don't warn about "string length is greater than the + length ISO C89 compilers are required to support" + in the following string constant... */ +# endif + char* defaults[] = { ".background: #000000", @@ -250,7 +257,7 @@ static Window xsublim_Ss_GetWindow(Display* ss_Display) Window win_Parent; Window* win_Child; Window win_Win; - int child_Count; + unsigned int child_Count; int child_Index; Atom prop_Type; int prop_Format;