Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

/usr/src/games/sail build failure



Sources updated - Mon Mar 16 00:12:16 EST(AU) 2009:

cc1: warnings being treated as errors
/usr/src/games/sail/pl_7.c: In function 'draw_scroll':
/usr/src/games/sail/pl_7.c:233: warning: comparison between signed and unsigned
*** Error code 1

wmove(WINDOW *win, int y, int x);

Apparently y should be int (compared to SCROLL_Y)?
 ... either way it's now building :)

--- pl_7.c      2009-03-15 20:52:59.000000000 +1100
+++ .#pl_7.c.1.35       2009-03-15 20:40:15.000000000 +1100
@@ -211,7 +211,7 @@
        unsigned visible_lines;
        unsigned index_of_top;
        unsigned index_of_y;
-       unsigned y;
+       int y;
        unsigned cursorx;

        werase(scroll_w);



Home | Main Index | Thread Index | Old Index