From dd373c4f79ecdd78b1b4f2afab86f0ba9bc5eeb4 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 20 Nov 2008 09:53:27 -0800 Subject: [PATCH] Use "%zu" to print size_t, not "%"PRIu16. --- lib/ofp-print.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 96dd4c6a..c3c1c711 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -342,8 +342,7 @@ ofp_print_action(struct ds *string, const struct ofp_action_header *ah, const struct openflow_action *act = &of_actions[type]; if ((len < act->min_size) || (len > act->max_size)) { ds_put_format(string, - "***action %"PRIu16" wrong length: %"PRIu16"***\n", - type, len); + "***action %"PRIu16" wrong length: %zu***\n", type, len); return -1; } } -- 2.30.2