From 623d9a1f9811824417f90bb58cf75e3744dd693a Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Mon, 5 Mar 2012 09:43:55 -0600 Subject: [PATCH] corrected some stdint issues --- src/common.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common.hpp b/src/common.hpp index c2c78bed77..447f534fda 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -31,7 +31,8 @@ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS #endif -#include +//#include +#include // SIZE_MAX appears to be a compiler thing not an OS header thing. // make sure it is defined. @@ -149,7 +150,7 @@ namespace websocketpp { namespace limits { static const uint8_t PAYLOAD_SIZE_BASIC = 125; static const uint16_t PAYLOAD_SIZE_EXTENDED = 0xFFFF; // 2^16, 65535 - static const uint64_t PAYLOAD_SIZE_JUMBO = 0x7FFFFFFFFFFFFFFF;//2^63 + static const uint64_t PAYLOAD_SIZE_JUMBO = 0x7FFFFFFFFFFFFFFFLL;//2^63 } } // namespace frame