On 26.03.2014 13:05, Stefan Hajnoczi wrote:
Use the right types instead of signed int:

   size_t new_size;

   This is a byte count for g_realloc() that is calculated from uint32_t
   and size_t values.

   uint32_t chunk_count;

   Use the same type as s->n_chunks, which is used together with
   chunk_count.

This patch is a cleanup and does not fix bugs.

Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>
---
  block/dmg.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Max Reitz <mre...@redhat.com>

Reply via email to