X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Feditor.c;fp=src%2Feditor.c;h=8aa1971f8e93be9a577cf6708555ba63af3b96cc;hp=ee7fe4e58942403d9a98ae51274dee45b79c515f;hb=c27d6982a3c8e3ce85d4c974af6465f5cf1855b0;hpb=d0893e6987c21c25ec137438a18cfe1288362139 diff --git a/src/editor.c b/src/editor.c index ee7fe4e5..8aa1971f 100644 --- a/src/editor.c +++ b/src/editor.c @@ -727,7 +727,7 @@ void LevelEd(int mx, int my, int button) } else /********** KONTROLL-FENSTER **********/ { - static long choice_delay = 0; + static int choice_delay = 0; int choice = CheckCountButtons(mx,my,button); int step = (button==1 ? 1 : button==2 ? 5 : button==3 ? 10 : 0); @@ -1085,7 +1085,7 @@ void LevelNameTyping(KeySym key) } } -void DrawEditButton(unsigned long state) +void DrawEditButton(unsigned int state) { int i; int xpos = 0, ypos = 1, xsize = 2, ysize = 3; @@ -1129,7 +1129,7 @@ void DrawEditButton(unsigned long state) redraw_mask |= REDRAW_DOOR_2; } -void DrawCtrlButton(unsigned long state) +void DrawCtrlButton(unsigned int state) { int i; int xpos = 0, ypos = 1, xsize = 2, ysize = 3;