Add unsigned int type cast

svn path=/trunk/; revision=30037
This commit is contained in:
Kovarththanan Rajaratnam 2009-09-21 14:01:30 +00:00
parent d86635a3d8
commit 8f0d93fb12
1 changed files with 1 additions and 1 deletions

View File

@ -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;