From e4328f921166613e0d40800b9857c39ffa8182ea Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Tue, 10 Jun 2014 12:30:04 -0400 Subject: [PATCH] Fix build. --- sourcepawn/compiler/sc2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sourcepawn/compiler/sc2.c b/sourcepawn/compiler/sc2.c index a2ce4c9d..1b5f6cdf 100644 --- a/sourcepawn/compiler/sc2.c +++ b/sourcepawn/compiler/sc2.c @@ -2136,9 +2136,9 @@ SC_FUNC int lex(cell *lexvalue,char **lexsym) if (sc_packstr) stringflags ^= ISPACKED; /* invert packed/unpacked parameters */ if ((stringflags & ISPACKED)!=0) - packedstring(_lexstr,stringflags); + packedstring((unsigned char *)_lexstr,stringflags); else - unpackedstring(_lexstr,stringflags); + unpackedstring((unsigned char *)_lexstr,stringflags); } else if (*lptr=='\'') { /* character literal */ lptr+=1; /* skip quote */ _lextok=tNUMBER;