From ad11ac2b34b24457b13111089fd8c9265deaecd5 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Fri, 16 Jul 1999 17:39:03 +0000 Subject: [PATCH] Fix compiler warnings git-svn-id: svn://10.0.0.236/trunk@39708 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/include/resdef.h | 4 ++-- mozilla/include/xp_str.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/include/resdef.h b/mozilla/include/resdef.h index e543a4939b6..c617483e43b 100644 --- a/mozilla/include/resdef.h +++ b/mozilla/include/resdef.h @@ -78,7 +78,7 @@ #ifndef MOZILLA_CLIENT #define RES_START -#define BEGIN_STR(arg) static char * (arg) (int16 i) { switch (i) { +#define BEGIN_STR(arg) static char * (arg) (int32 i) { switch (i) { #define ResDef(name,id,msg) case (id)+RES_OFFSET: return (msg); #define END_STR(arg) } return NULL; } #else /* MOZILLA_CLIENT */ @@ -108,7 +108,7 @@ #define END_STR(arg) } #else #define RES_START -#define BEGIN_STR(arg) static char *(arg)(int16 i) { switch (i) { +#define BEGIN_STR(arg) static char *(arg)(int32 i) { switch (i) { #define ResDef(name,id,msg) case (id)+RES_OFFSET: return (msg); #define END_STR(arg) } return NULL; } #endif /* RESOURCE_STR_X */ diff --git a/mozilla/include/xp_str.h b/mozilla/include/xp_str.h index e9567533f36..4beeeeab056 100644 --- a/mozilla/include/xp_str.h +++ b/mozilla/include/xp_str.h @@ -212,7 +212,7 @@ extern char * XP_StripLine (char *s); /* Match = 0, NoMatch = 1, Abort = -1 */ /* Based loosely on sections of wildmat.c by Rich Salz */ -extern int xp_RegExpSearch(char *str, char *exp); +extern int xp_RegExpSearch(char *str, char *regexp); /* * These are "safe" versions of the runtime library routines. The RTL