aboutsummaryrefslogtreecommitdiffstats
path: root/epan/emem.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-21 14:01:30 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-21 14:01:30 +0000
commit8f0d93fb12d7d227c6d715677b3063fb95685ea2 (patch)
treebd6e234e44bdabe3e5bff2107121467bd4fb11d4 /epan/emem.c
parentd86635a3d8a72bf23009b63c60704d6415e03a7c (diff)
Add unsigned int type cast
svn path=/trunk/; revision=30037
Diffstat (limited to 'epan/emem.c')
-rw-r--r--epan/emem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/emem.c b/epan/emem.c
index 4b367ac148..4fdb10ebcd 100644
--- a/epan/emem.c
+++ b/epan/emem.c
@@ -465,7 +465,7 @@ emem_alloc(size_t size, emem_header_t *mem, gboolean use_chunks, guint8 *canary)
/* There's no padding/alignment involved (from our point of view) when
* we fetch the memory directly from the system pool, so WYSIWYG */
npc->free_offset = npc->free_offset_init = 0;
- npc->amount_free = npc->amount_free_init = size;
+ npc->amount_free = npc->amount_free_init = (unsigned int) size;
}
return buf;