diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/c/include/unit/unit-wasm.h | 2 | ||||
-rw-r--r-- | src/c/libunit-wasm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/c/include/unit/unit-wasm.h b/src/c/include/unit/unit-wasm.h index 8d91094..dedf15a 100644 --- a/src/c/include/unit/unit-wasm.h +++ b/src/c/include/unit/unit-wasm.h @@ -161,7 +161,7 @@ extern u32 luw_malloc_handler(size_t size); #pragma GCC visibility push(default) extern void luw_init_ctx(luw_ctx_t *ctx, u8 *addr, size_t offset); -extern int luw_set_req_buf(luw_ctx_t *ctx, u8 **buf, unsigned long flags); +extern int luw_set_req_buf(luw_ctx_t *ctx, u8 **buf, unsigned int flags); extern const char *luw_get_http_path(const luw_ctx_t *ctx); extern const char *luw_get_http_method(const luw_ctx_t *ctx); extern const char *luw_get_http_version(const luw_ctx_t *ctx); diff --git a/src/c/libunit-wasm.c b/src/c/libunit-wasm.c index 39cda22..8cea78a 100644 --- a/src/c/libunit-wasm.c +++ b/src/c/libunit-wasm.c @@ -110,7 +110,7 @@ void luw_init_ctx(luw_ctx_t *ctx, u8 *addr, size_t offset) * allocate memory for the _entire_ request that * will eventually be sent. */ -int luw_set_req_buf(luw_ctx_t *ctx, u8 **buf, unsigned long flags) +int luw_set_req_buf(luw_ctx_t *ctx, u8 **buf, unsigned int flags) { size_t alloc_size; size_t copy_bytes; |