opnsense-ports/graphics/flphoto/files/patch-espmsg.c
Franco Fichtner 59daa09aaa */*: sync with upstream
Taken from: HardenedBSD
2017-12-18 14:49:26 +01:00

11 lines
296 B
C

--- espmsg.c.orig 2005-01-23 03:52:44 UTC
+++ espmsg.c
@@ -766,7 +766,7 @@ translate_messages(const char *language)
*bufptr++ = '&';
*bufptr = '\0';
- sprintf(length, "%d", bufptr - buffer);
+ sprintf(length, "%ld", (long)(bufptr - buffer));
/*
* Send the request...