src/main.c

changeset 31
ed440bcd9740
parent 30
a285ee393860
child 33
866025982aa9
     1.1 --- a/src/main.c	Mon Apr 07 17:39:46 2014 +0200
     1.2 +++ b/src/main.c	Tue Apr 08 21:13:28 2014 +0200
     1.3 @@ -40,7 +40,7 @@
     1.4      uint8_t timeunit = 60;
     1.5      size_t len;
     1.6      
     1.7 -    for (char opt ; (opt = getopt(argc, argv, "a:bhp:rst:")) != -1 ;) {
     1.8 +    for (int opt ; (opt = getopt(argc, argv, "a:bhp:rst:")) != -1 ;) {
     1.9          switch (opt) {
    1.10          case 'b':
    1.11              settings->gameinfo.servercolor = BLACK;

mercurial