Skip to content

Commit

Permalink
Merge pull request #24 from markatk/fix-pointer-truncation
Browse files Browse the repository at this point in the history
Fix pointer truncation in debug message
  • Loading branch information
inlife authored Aug 12, 2019
2 parents e708a22 + 16932a1 commit 0c5f491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/librg.h
Original file line number Diff line number Diff line change
Expand Up @@ -2397,7 +2397,7 @@ extern "C" {

/* Execution side: SHARED */
LIBRG_INTERNAL void librg__callback_connection_disconnect(librg_message *msg) {
librg_dbg("[dbg] librg__connection_disconnect; is timeout: %d\n", (int)msg->user_data);
librg_dbg("[dbg] librg__connection_disconnect; is timeout: %lld\n", (i64) msg->user_data);

/* we were connected, and now are disconnected */
if (librg_is_client(msg->ctx) && librg_is_connected(msg->ctx)) {
Expand Down

0 comments on commit 0c5f491

Please sign in to comment.