Remove unneeded #include <stdint.h>
This fixes the build for Visual Studio 2008.
This commit is contained in:
parent
a86666cfe5
commit
b7473a354d
2 changed files with 3 additions and 4 deletions
|
@ -114,7 +114,6 @@ struct sockaddr_in;
|
|||
#include <stddef.h>
|
||||
#include <basetsd.h>
|
||||
#ifndef _WIN32_WCE
|
||||
#include <stdint.h>
|
||||
#include <fcntl.h>
|
||||
#else
|
||||
#define _O_RDONLY 0x0000
|
||||
|
|
|
@ -78,7 +78,7 @@ struct ping {
|
|||
};
|
||||
|
||||
struct per_session_data__ping {
|
||||
uint64_t ping_index;
|
||||
unsigned long long ping_index;
|
||||
|
||||
struct ping ringbuffer[PING_RINGBUFFER_SIZE];
|
||||
int ringbuffer_head;
|
||||
|
@ -110,7 +110,7 @@ callback_lws_mirror(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
unsigned char *p;
|
||||
unsigned long iv;
|
||||
int match = 0;
|
||||
uint64_t l;
|
||||
unsigned long long l;
|
||||
int shift;
|
||||
int n;
|
||||
|
||||
|
@ -158,7 +158,7 @@ callback_lws_mirror(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
l = 0;
|
||||
|
||||
while (shift >= 0) {
|
||||
l |= ((uint64_t)*p++) << shift;
|
||||
l |= ((unsigned long long)*p++) << shift;
|
||||
shift -= 8;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue