From f06b187d2d2439e8b38e1d9ffefaa313c981ced9 Mon Sep 17 00:00:00 2001 From: Chris Marsh Date: Wed, 2 Aug 2017 17:37:58 -0700 Subject: [PATCH] other 64bit warning fix --- examples/send-presence/send-presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/send-presence/send-presence.c b/examples/send-presence/send-presence.c index b2051cb..d49728d 100644 --- a/examples/send-presence/send-presence.c +++ b/examples/send-presence/send-presence.c @@ -66,7 +66,7 @@ static int prompt(char* line, size_t size) char* nl; printf("\n> "); fflush(stdout); - res = fgets(line, size, stdin) ? 1 : 0; + res = fgets(line, (int)size, stdin) ? 1 : 0; line[size - 1] = 0; nl = strchr(line, '\n'); if (nl) {