Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakio815 committed Jul 8, 2024
1 parent dc11c70 commit 3ae2047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/utils/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void _lf_message_print(const char* prefix, const char* format, va_list args,
// interleaved between threads.
// vprintf() is a version that takes an arg list rather than multiple args.
char* message;
if (_lf_my_fed_id == 0xffff) {
if (_lf_my_fed_id == UINT16_MAX) {
size_t length = strlen(prefix) + strlen(format) + 32;
message = (char*)malloc(length + 1);
snprintf(message, length, "%s%s\n", prefix, format);
Expand Down

0 comments on commit 3ae2047

Please sign in to comment.