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
/
ssl.c
diff --git
a/lib/ssl.c
b/lib/ssl.c
index
5125430
..
651757f
100644
(file)
--- a/
lib/ssl.c
+++ b/
lib/ssl.c
@@
-40,7
+40,7
@@
int lws_alloc_vfs_file(struct lws_context *context, const char *filename, uint8_
len = lws_vfs_get_length(fops_fd);
- *buf = malloc(len);
+ *buf = malloc(
(size_t)
len);
if (!buf)
goto bail;