Stefan Hajnoczi eb71803b04 dmg: use appropriate types when reading chunks
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 <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-04-01 15:22:35 +02:00
..
2014-04-01 13:59:47 +02:00
2013-12-20 16:26:16 +01:00
2014-02-21 21:02:24 +01:00
2014-03-25 14:09:50 +01:00
2014-02-25 10:50:11 +00:00
2014-02-21 21:02:22 +01:00
2014-03-19 09:39:41 +01:00
2014-02-21 21:02:24 +01:00
2014-02-17 11:57:23 -05:00
2014-03-25 14:09:50 +01:00
2014-02-17 11:57:23 -05:00
2014-03-25 14:09:50 +01:00
2013-09-12 10:12:48 +02:00
2014-03-25 14:09:50 +01:00
2014-04-01 13:59:47 +02:00