and another one... (nw)

This commit is contained in:
Cowering 2015-07-04 17:03:00 -05:00
parent eda2dcb898
commit 9f7f606b5e

View file

@ -540,7 +540,7 @@ QUICKLOAD_LOAD_MEMBER(ssem_state, ssem_store)
// Isolate and convert 4-digit decimal address
memcpy(token_buf, image_line, 4);
token_buf[4] = '\0';
sscanf(token_buf, "%04d", &line);
sscanf(token_buf, "%04u", &line);
if (!core_stricmp(image.filetype(), "snp"))
{