Module: kamailio
Branch: master
Commit: c5d846d499cdc4fa6829c3bf4d7a120d9dbe16da
URL:
https://github.com/kamailio/kamailio/commit/c5d846d499cdc4fa6829c3bf4d7a120…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-05-04T14:11:06+02:00
dlgs: use PRIu64 to print uint64_t
---
Modified: src/modules/dlgs/dlgs_records.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c5d846d499cdc4fa6829c3bf4d7a120…
Patch:
https://github.com/kamailio/kamailio/commit/c5d846d499cdc4fa6829c3bf4d7a120…
---
diff --git a/src/modules/dlgs/dlgs_records.c b/src/modules/dlgs/dlgs_records.c
index 2f0bb65b6ce..25026136b21 100644
--- a/src/modules/dlgs/dlgs_records.c
+++ b/src/modules/dlgs/dlgs_records.c
@@ -27,6 +27,7 @@
#include <stdint.h>
#include <regex.h>
#include <fnmatch.h>
+#include <inttypes.h>
#include "../../core/dprint.h"
#include "../../core/ut.h"
@@ -658,7 +659,7 @@ int dlgs_ht_dbg(void)
LM_ERR("\tdst: %.*s\n", it->dst.len, it->dst.s);
LM_ERR("\tdata: %.*s\n", it->data.len, it->data.s);
LM_ERR("\truid: %.*s\n", it->ruid.len, it->ruid.s);
- LM_ERR("\thashid: %u ts_init: %llu ts_answer: %llu\n", it->hashid,
+ LM_ERR("\thashid: %u ts_init: %" PRIu64 " ts_answer: %" PRIu64
"\n", it->hashid,
(uint64_t)it->ts_init, (uint64_t)it->ts_answer);
it = it->next;
}