Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions modules/aaa_diameter/dm_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include <freeDiameter/extension.h>
#include <sys/eventfd.h>
#include <inttypes.h>

#include "../../ut.h"
#include "../../lib/list.h"
Expand Down Expand Up @@ -481,7 +482,7 @@ static int dm_avps2json(void *root, cJSON *avps)
break;

case AVP_TYPE_INTEGER64:
LM_DBG("%2d. got int64 AVP %s (%u), value: %ld\n", i, dm_avp.avp_name, h->avp_code, h->avp_value->i64);
LM_DBG("%2d. got int64 AVP %s (%u), value: %" PRId64 "\n", i, dm_avp.avp_name, h->avp_code, h->avp_value->i64);
num_val = (double)h->avp_value->i64;
break;

Expand All @@ -491,7 +492,7 @@ static int dm_avps2json(void *root, cJSON *avps)
break;

case AVP_TYPE_UNSIGNED64:
LM_DBG("%2d. got uint64 AVP %s (%u), value: %lu\n", i, dm_avp.avp_name, h->avp_code, h->avp_value->u64);
LM_DBG("%2d. got uint64 AVP %s (%u), value: %" PRIu64 "\n", i, dm_avp.avp_name, h->avp_code, h->avp_value->u64);
num_val = (double)h->avp_value->u64;
break;

Expand Down
2 changes: 1 addition & 1 deletion modules/http2d/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ static int on_frame_recv_callback(nghttp2_session *session,
switch (frame->hd.type) {
case NGHTTP2_DATA:
case NGHTTP2_HEADERS:
LM_DBG("h2 header [%d], %p %ld\n", frame->hd.type, frame->headers.nva, frame->headers.nvlen);
LM_DBG("h2 header [%d], %p %zu\n", frame->hd.type, frame->headers.nva, frame->headers.nvlen);
/* Check that the client request has finished */
if (frame->hd.flags & NGHTTP2_FLAG_END_STREAM) {
stream_data =
Expand Down