diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 21:10:04 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 21:10:04 +0000 |
commit | 3f4f8b0b9451def1ad6d589916a4d220a2a980e3 (patch) | |
tree | 1d7d085cec2cc2f4a589fc99b5d3425fa90884d5 /epan | |
parent | 39b1eb10155ecfada2e944284adce6246a2c577e (diff) |
Add unsigned int typecast
svn path=/trunk/; revision=29361
Diffstat (limited to 'epan')
-rw-r--r-- | epan/emem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/emem.c b/epan/emem.c index f85462409f..5afa4c5d6a 100644 --- a/epan/emem.c +++ b/epan/emem.c @@ -427,7 +427,7 @@ emem_alloc(size_t size, gboolean debug_free, emem_header_t *mem, guint8 *canary) npc=g_malloc(sizeof(emem_chunk_t)); npc->next=mem->used_list; - npc->amount_free=size; + npc->amount_free=(unsigned int) size; npc->free_offset=0; npc->buf=g_malloc(size); buf = npc->buf; |