From edb7b49c25eb15eda9136db467137de29e798849 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 23 Aug 2008 09:29:27 +0000 Subject: [PATCH] Fixed bogus warning from GCC. --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402466 --- sourcepawn/jit/x86/jit_x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcepawn/jit/x86/jit_x86.cpp b/sourcepawn/jit/x86/jit_x86.cpp index 1513bcda..6c37d157 100644 --- a/sourcepawn/jit/x86/jit_x86.cpp +++ b/sourcepawn/jit/x86/jit_x86.cpp @@ -2440,7 +2440,7 @@ jitoffs_t RelocLookup(JitWriter *jit, cell_t pcode_offs, bool relative) #if defined _DEBUG if (jit->outbase != NULL) { - assert(*(jitoffs_t *)(data->rebase + pcode_offs) != NULL); + assert(*(jitoffs_t *)(data->rebase + pcode_offs) != 0); } #endif return *(jitoffs_t *)(data->rebase + pcode_offs);