aboutsummaryrefslogtreecommitdiffstats
path: root/src/stack.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-29 14:03:32 -0400
committerDavid Robillard <d@drobilla.net>2021-05-31 11:29:16 -0400
commit0ea841d621f81240241fc36a0e6153f57ab88020 (patch)
treeb2260c8df5cc0ce2ddac45ef285eb07a6a066a0f /src/stack.h
parent10c6dcff8d28ca2a05d2ebcfa9bb47e24e5a9d64 (diff)
downloadserd-0ea841d621f81240241fc36a0e6153f57ab88020.tar.gz
serd-0ea841d621f81240241fc36a0e6153f57ab88020.tar.bz2
serd-0ea841d621f81240241fc36a0e6153f57ab88020.zip
Fix some conversion warnings
Diffstat (limited to 'src/stack.h')
-rw-r--r--src/stack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stack.h b/src/stack.h
index fef33390..ac30658c 100644
--- a/src/stack.h
+++ b/src/stack.h
@@ -47,7 +47,7 @@ serd_stack_new(size_t size)
}
static inline bool
-serd_stack_is_empty(SerdStack* stack)
+serd_stack_is_empty(const SerdStack* stack)
{
return stack->size <= SERD_STACK_BOTTOM;
}