1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

Address some sparse warnings

Plain integer as NULL pointer, non-ANSI function declaration etc.
This commit is contained in:
Carlos R. Mafra
2010-04-12 23:31:59 +02:00
parent 62f4eff7ae
commit 4041278f48
21 changed files with 40 additions and 51 deletions

View File

@@ -435,7 +435,7 @@ WSwitchPanel *wInitSwitchPanel(WScreen * scr, WWindow * curwin, Bool class_only)
panel->scr = scr;
panel->windows = makeWindowListArray(curwin, wPreferences.swtileImage != 0, class_only);
panel->windows = makeWindowListArray(curwin, wPreferences.swtileImage != NULL, class_only);
count = WMGetArrayItemCount(panel->windows);
if (count == 0) {