summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7699c3e)
raw | patch | inline | side by side (parent: 7699c3e)
author | Florian Forster <octo@noris.net> | |
Mon, 14 Jul 2008 07:39:47 +0000 (09:39 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Mon, 14 Jul 2008 07:39:47 +0000 (09:39 +0200) |
src/ntpd.c | patch | blob | history |
diff --git a/src/ntpd.c b/src/ntpd.c
index ff0a48dceeb6a42a4150937fed013c6b06279336..b6214e87d01687f2393b4bb8d876fef6e3861cd4 100644 (file)
--- a/src/ntpd.c
+++ b/src/ntpd.c
pkt_padding = 0;
if (pkt_item_len < res_item_size)
pkt_padding = res_item_size - pkt_item_len;
- DEBUG ("res_item_size = %i; pkt_padding = %i;",
+ DEBUG ("res_item_size = %i; pkt_padding = %zi;",
res_item_size, pkt_padding);
/* Extract the sequence number */
* Enough with the checks. Copy the data now.
* We start by allocating some more memory.
*/
- DEBUG ("realloc (%p, %i)", (void *) *res_data,
+ DEBUG ("realloc (%p, %zu)", (void *) *res_data,
(items_num + pkt_item_num) * res_item_size);
items = realloc ((void *) *res_data,
(items_num + pkt_item_num) * res_item_size);