diff options
| -rw-r--r-- | prbs.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -122,7 +122,8 @@ void print_string(struct string str) { assert(str.ptr && str.len); - printf("%.*s", str.len, str.ptr); + assert(str.len <= 0x7fffffff); + printf("%.*s", (i32)str.len, str.ptr); } void |
