eina: fix eina_stringshare format warning after commit 912924a
authorJean Guyomarc'h <jean.guyomarch@gmail.com>
Tue, 28 Apr 2015 21:50:57 +0000 (23:50 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 28 Apr 2015 21:51:00 +0000 (23:51 +0200)
Summary:
Since the type of 'r' changed from unsigned short to unsigned int we
need to change its format as well.

Reviewers: stefan_schmidt, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2446

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/eina/eina_stringshare.c

index c935b5f7a766781b8acd287063741b37df5eb2b7..588865d50e946c4516bb5bcf4fb18f168ade7680 100644 (file)
@@ -426,7 +426,7 @@ _eina_stringshare_small_bucket_dump(Eina_Stringshare_Small_Bucket *bucket,
      {
         int dups;
 
-        printf("DDD: %5hhu %5hu '%s'\n", *l, *r, *s);
+        printf("DDD: %5hhu %5u '%s'\n", *l, *r, *s);
 
         dups = (*r - 1);