diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-02-12 15:42:12 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-02-12 16:25:35 +0900 |
commit | 7b0891a743ed0b6e14b6059468a4c00322411fb0 (patch) | |
tree | 27856df5ef581204c09db7050e072a7feec01336 | |
parent | 3e95380edbe2e5fa4480e216b51ddffad655dc8a (diff) | |
download | enlightenment-7b0891a743ed0b6e14b6059468a4c00322411fb0.tar.gz |
e desklock logging - fix types for critical error logs
the critical error log expects unsigned long so cast to exactly that
so it's correct and doesn't break/display incorrect values
-rw-r--r-- | src/bin/e_desklock.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/e_desklock.c b/src/bin/e_desklock.c index 664b921a31..fc5a92a0d8 100644 --- a/src/bin/e_desklock.c +++ b/src/bin/e_desklock.c @@ -295,7 +295,8 @@ e_desklock_show(Eina_Bool suspend) if (zone->num >= EINA_C_ARRAY_LENGTH(block_rects)) { - CRI("> %lu screens connected????", EINA_C_ARRAY_LENGTH(block_rects)); + CRI("> %lu screens connected????", + (unsigned long)EINA_C_ARRAY_LENGTH(block_rects)); break; } o = evas_object_rectangle_add(e_comp->evas); @@ -710,7 +711,8 @@ e_desklock_zone_block_set(const E_Zone *zone, Eina_Bool block) EINA_SAFETY_ON_NULL_RETURN(zone); if (zone->num >= EINA_C_ARRAY_LENGTH(block_rects)) { - CRI("> %lu screens connected????", EINA_C_ARRAY_LENGTH(block_rects)); + CRI("> %lu screens connected????", + (unsigned long)EINA_C_ARRAY_LENGTH(block_rects)); return; } block_zone[zone->num] = !!block; |