summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 837fa97fe4..9326e6f1a5 100644
--- a/st.c
+++ b/st.c
@@ -256,7 +256,7 @@ st_free_table(st_table *table)
}
size_t
-st_memsize(st_table *table)
+st_memsize(const st_table *table)
{
if (table->entries_packed) {
return table->num_bins * sizeof (void *) + sizeof(st_table);