OSDN Git Service

Make warning go away.
authorRob Landley <rob@landley.net>
Thu, 7 Jun 2007 19:20:26 +0000 (15:20 -0400)
committerRob Landley <rob@landley.net>
Thu, 7 Jun 2007 19:20:26 +0000 (15:20 -0400)
main.c

diff --git a/main.c b/main.c
index 8eaa282..e3f6ddf 100644 (file)
--- a/main.c
+++ b/main.c
@@ -58,7 +58,7 @@ struct toy_list *toy_find(char *name)
 #undef OLDTOY
 #define NEWTOY(name, opts, flags) opts ||
 #define OLDTOY(name, oldname, opts, flags) opts ||
-static const NEED_OPTIONS =
+static const int NEED_OPTIONS =
 #include "toys/toylist.h"
 0;  // Ends the opts || opts || opts...