*decoded = ecalloc(1, encoded_len + 1);
while ((encoded + encoded_len - e_ptr) > 0) {
- ulong chunk_len = 0, rest;
+ unsigned long chunk_len = 0, rest;
chunk_len = strtoul(e_ptr, &n_ptr, 16);
struct dechunk_ctx {
php_http_buffer_t buffer;
- ulong hexlen;
+ unsigned long hexlen;
unsigned zeroed:1;
};