summaryrefslogtreecommitdiff
path: root/src/map/npc_chat.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-07 18:42:53 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-07 18:42:53 +0000
commit90fd7a2c221c9e13a43d2c01e3af53c04e393945 (patch)
tree130cfcc656939ca5103deec186ee32bf7888344e /src/map/npc_chat.c
parent1a348ede4934a1ba78f337ee1dffe11a699f4bef (diff)
downloadhercules-90fd7a2c221c9e13a43d2c01e3af53c04e393945.tar.gz
hercules-90fd7a2c221c9e13a43d2c01e3af53c04e393945.tar.bz2
hercules-90fd7a2c221c9e13a43d2c01e3af53c04e393945.tar.xz
hercules-90fd7a2c221c9e13a43d2c01e3af53c04e393945.zip
G++ is now the default on trunk [MouseJstr]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@1443 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc_chat.c')
-rw-r--r--src/map/npc_chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc_chat.c b/src/map/npc_chat.c
index 5ec8540ae..c15a26bf0 100644
--- a/src/map/npc_chat.c
+++ b/src/map/npc_chat.c
@@ -387,7 +387,7 @@ int npc_chat_sub(struct block_list *bl, va_list ap)
int offsets[20];
char buf[255];
// perform pattern match
- int r = pcre_exec(e->pcre_, e->pcre_extra_, msg, len, 0,
+ int r = pcre_exec(e->pcre_, e->pcre_extra_, (char *) msg, len, 0,
0, offsets, sizeof(offsets) / sizeof(offsets[0]));
if (r >= 0) {
// save out the matched strings