Skip to content

Commit

Permalink
TSA: allow negative numbers in gentext
Browse files Browse the repository at this point in the history
  • Loading branch information
32th-System committed Aug 15, 2022
1 parent e84bb6e commit b7ff9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thcrap_tsa/src/gentext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ int BP_gentext(x86_reg_t *regs, json_t *bp_info)
char id_str[value_len + 1];
const char *q = id_str;
size_t id_val = json_immediate_value(id, regs);
snprintf(id_str, sizeof(id_str), "%u", id_val);
snprintf(id_str, sizeof(id_str), "%d", id_val);
if(i > 0) {
*p++ = '_';
}
Expand Down

0 comments on commit b7ff9f4

Please # to comment.