--- code/trunk/pcre_compile.c 2007/07/30 13:23:28 195 +++ code/trunk/pcre_compile.c 2007/07/31 14:39:09 199 @@ -42,11 +42,14 @@ supporting internal functions that are not used by other modules. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #define NLBLOCK cd /* Block containing newline information */ #define PSSTART start_pattern /* Field containing processed string start */ #define PSEND end_pattern /* Field containing processed string end */ - #include "pcre_internal.h" @@ -701,7 +704,7 @@ *negptr = TRUE; ptr++; } - for (i = 0; i < sizeof(name) - 1; i++) + for (i = 0; i < (int)sizeof(name) - 1; i++) { c = *(++ptr); if (c == 0) goto ERROR_RETURN;