Skip to content

Commit

Permalink
binout: fix compilation on some hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
rasky committed Nov 16, 2024
1 parent dcff22d commit 83aba3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/common/binout.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
if (sizeof(type) < sizeof(_v)) { \
int64_t ext = (int64_t)_v >> (sizeof(type) * 8); \
if (ext != 0 && ext != (uint64_t)-1) { \
fprintf(stderr, "fatal: truncating value %lld to %s (ext=%lld)\n", (long long)_v, #type, ext); \
fprintf(stderr, "fatal: truncating value %lld to %s (ext=%lld)\n", (long long)_v, #type, (long long)ext); \
assert(ext == 0 || ext == (uint64_t)-1); \
} \
} \
Expand Down

0 comments on commit 83aba3b

Please sign in to comment.