Commit 54883815 authored by Dino Bollinger's avatar Dino Bollinger Committed by Richard Gobeille

Mapster32: Fix parsing hex literals

parent 2cd7754f
......@@ -962,7 +962,7 @@ static int32_t GetGamearrayID(const char *szGameLabel, int32_t searchlocals)
static int32_t parse_integer_literal(int32_t *num)
if (textptr[0] == '0' && tolower(textptr[1])=='x')
sscanf(textptr+2, "%" SCNx32, (uint32_t *)&num);
sscanf(textptr+2, "%" SCNx32, (uint32_t *)num);
long lnum;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment