diff options
author | Evan Huus <eapache@gmail.com> | 2012-11-08 23:18:26 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2012-11-08 23:18:26 +0000 |
commit | 82501433e32701dff181bc7bc147b7e2ecaa9d58 (patch) | |
tree | 602e9d7b644658380f45281382e63bd65631c9b7 /epan/wmem/wmem_core.c | |
parent | 26a40dd999a15ebc45130b8b77c509ef93aa94e8 (diff) | |
download | wireshark-82501433e32701dff181bc7bc147b7e2ecaa9d58.tar.gz |
Use const in wmem where possible.
svn path=/trunk/; revision=45976
Diffstat (limited to 'epan/wmem/wmem_core.c')
-rw-r--r-- | epan/wmem/wmem_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wmem/wmem_core.c b/epan/wmem/wmem_core.c index f7ad1aed86..ec1a0e9134 100644 --- a/epan/wmem/wmem_core.c +++ b/epan/wmem/wmem_core.c @@ -31,13 +31,13 @@ #include "wmem_allocator_glib.h" void * -wmem_alloc(wmem_allocator_t *allocator, size_t size) +wmem_alloc(wmem_allocator_t *allocator, const size_t size) { return allocator->alloc(allocator->private_data, size); } void * -wmem_alloc0(wmem_allocator_t *allocator, size_t size) +wmem_alloc0(wmem_allocator_t *allocator, const size_t size) { void *buf; |