diff options
author | David Robillard <d@drobilla.net> | 2018-09-30 20:45:52 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-31 11:37:48 -0500 |
commit | aa82276f036d5fadf02abb77e689e2aa384043e3 (patch) | |
tree | ce7f076a076e719a07cd2d71ad97a4df948cae8d /src/stack.h | |
parent | 32604d573a456c52ef104211a078d6e2ae7e1d9f (diff) | |
download | serd-aa82276f036d5fadf02abb77e689e2aa384043e3.tar.gz serd-aa82276f036d5fadf02abb77e689e2aa384043e3.tar.bz2 serd-aa82276f036d5fadf02abb77e689e2aa384043e3.zip |
Fix warnings
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 5c84df37..c703fce4 100644 --- a/src/stack.h +++ b/src/stack.h @@ -90,7 +90,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) { |