]> jfr.im git - irc/quakenet/newserv.git/blobdiff - helpmod2/helpmod_entries.c
CHANSERV: remove E type escapes
[irc/quakenet/newserv.git] / helpmod2 / helpmod_entries.c
index b8b7b443f012094daa1cc6099d9e15837fe625ba..93f0a55ba63f1deb27ed3589d6ef4b6e764cf4cc 100644 (file)
@@ -1,6 +1,6 @@
 #include "helpmod_entries.h"
 #include "helpmod_alias.h"
-#include "../core/error.c"
+#include "../core/error.h"
 #include "helpmod.h"
 
 struct helpmod_parsed_line_struct helpmod_parsed_line;
@@ -8,7 +8,7 @@ struct helpmod_parsed_line_struct helpmod_parsed_line;
 int helpmod_valid_selection(helpmod_entry state, int selection)
 {
     if (selection == -1)
-       return ((int)state->parent);
+       return ((int)((long)state->parent));
     return (selection >= 0 && selection < state->option_count);
 }