projects
/
platform
/
upstream
/
libwebsockets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lws_intptr_t
[platform/upstream/libwebsockets.git]
/
lib
/
lejp-conf.c
diff --git
a/lib/lejp-conf.c
b/lib/lejp-conf.c
index
8fb0553
..
966a6a0
100644
(file)
--- a/
lib/lejp-conf.c
+++ b/
lib/lejp-conf.c
@@
-199,8
+199,8
@@
struct jpargs {
static void *
lwsws_align(struct jpargs *a)
{
- if ((
unsigned long
)(a->p) & 15)
- a->p += 16 - ((
unsigned long
)(a->p) & 15);
+ if ((
lws_intptr_t
)(a->p) & 15)
+ a->p += 16 - ((
lws_intptr_t
)(a->p) & 15);
return a->p;
}