support printing uinteger values

This commit is contained in:
Bill Currie 2001-11-13 18:04:55 +00:00
parent 3d5447c71f
commit 4af2b18703

View file

@ -400,6 +400,9 @@ PR_ValueString (progs_t * pr, etype_t type, pr_type_t *val)
case ev_integer: case ev_integer:
snprintf (line, sizeof (line), "%d", val->integer_var); snprintf (line, sizeof (line), "%d", val->integer_var);
break; break;
case ev_uinteger:
snprintf (line, sizeof (line), "%u", val->uinteger_var);
break;
default: default:
snprintf (line, sizeof (line), "bad type %i", type); snprintf (line, sizeof (line), "bad type %i", type);
break; break;