lws_intptr_t
[platform/upstream/libwebsockets.git] / test-server / test-ping.c
index 0e0d5bc..f0f00d3 100644 (file)
@@ -162,7 +162,7 @@ callback_lws_mirror(struct lws *wsi, enum lws_callback_reasons reason,
                l = 0;
 
                while (shift >= 0) {
-                       l |= ((unsigned long long)*p++) << shift;
+                       l |= ((lws_intptr_t)*p++) << shift;
                        shift -= 8;
                }