mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-04 01:36:23 -04:00
Replace some cases of uint32_t with ev_uint32_t.
Spotted by Roman Puls.
This commit is contained in:
parent
4a5b53432b
commit
a47d88d7c2
2
buffer.c
2
buffer.c
@ -332,7 +332,7 @@ evbuffer_run_callbacks(struct evbuffer *buffer, int running_deferred)
|
||||
struct evbuffer_cb_entry *cbent, *next;
|
||||
struct evbuffer_cb_info info;
|
||||
size_t new_size;
|
||||
uint32_t mask, masked_val;
|
||||
ev_uint32_t mask, masked_val;
|
||||
int clear = 1;
|
||||
|
||||
if (running_deferred) {
|
||||
|
@ -55,9 +55,9 @@ extern "C" {
|
||||
#define BEV_SUSPEND_CONNECTING 0x04
|
||||
|
||||
struct token_bucket {
|
||||
uint32_t limit;
|
||||
uint32_t rate;
|
||||
uint32_t burst;
|
||||
ev_uint32_t limit;
|
||||
ev_uint32_t rate;
|
||||
ev_uint32_t burst;
|
||||
unsigned last_updated;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user