Skip to content

Commit

Permalink
fix printf
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand Chazot committed Dec 23, 2015
1 parent 85885c7 commit bc261ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utp_internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ struct UTPSocket {
va_end(va);
buf[4095] = '\0';

snprintf(buf2, 4096, "%p %s %06d %s", this, addrfmt(addr, addrbuf), (int) conn_id_recv, buf);
snprintf(buf2, 4096, "%p %s %06u %s", this, addrfmt(addr, addrbuf), conn_id_recv, buf);
buf2[4095] = '\0';

ctx->log(level, this, buf2);
Expand Down

0 comments on commit bc261ed

Please sign in to comment.