diff options
Diffstat (limited to 'src/stack.h')
-rw-r--r-- | src/stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stack.h b/src/stack.h index 11b31222..29db1e77 100644 --- a/src/stack.h +++ b/src/stack.h @@ -88,7 +88,7 @@ static inline void* serd_stack_push_aligned(SerdStack* stack, size_t n_bytes, size_t align) { // Push padding if necessary - const uint8_t pad = align - stack->size % align; + const size_t pad = align - stack->size % align; if (pad > 0) { void* padding = serd_stack_push(stack, pad); if (!padding) { |