projects
/
platform
/
upstream
/
libwebsockets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
win32: enable 64-bit file lengths
[platform/upstream/libwebsockets.git]
/
lib
/
libwebsockets.c
diff --git
a/lib/libwebsockets.c
b/lib/libwebsockets.c
index
daa3af8
..
0c58dac
100755
(executable)
--- a/
lib/libwebsockets.c
+++ b/
lib/libwebsockets.c
@@
-2244,7
+2244,7
@@
lws_snprintf(char *str, size_t size, const char *format, ...)
n = vsnprintf(str, size, format, ap);
va_end(ap);
- if (n >= size)
+ if (n >=
(int)
size)
return size;
return n;