From 4969d70f4fc1b61f5d2ef9f3219da754d43e648c Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Fri, 3 Aug 2007 11:07:21 +0000 Subject: - gcc warned: enum_epr.c:188: warning: format '%d' expects type 'int', but argument 3 has type 'listcount_t' --- examples/enum_epr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/enum_epr.c b/examples/enum_epr.c index c0b5b71..88805b5 100644 --- a/examples/enum_epr.c +++ b/examples/enum_epr.c @@ -130,7 +130,6 @@ int main(int argc, char** argv) { WsManClient *cl; - WsXmlDocH doc; client_opt_t *options; char retval = 0; u_error_t *error = NULL; @@ -185,7 +184,7 @@ int main(int argc, char** argv) wsmc_action_enumerate_and_pull(cl, argv[1] , options, collect_epr, l ); - printf("returned items: %d\n", list_count(l)); + printf("returned items: %d\n", (int)list_count(l)); lnode_t *node = list_first(l); while(node) { WsmanEpr* epr = (WsmanEpr*) node->list_data; -- cgit