summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-08 18:33:02 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-08 18:33:02 +0900
commit33880a3d7c4b9afa3d3c5e1c1fe0b66ebeb28a81 (patch)
tree8a166612f4a2c2ee64fc616c489afa8d835833f9
parent96958909bae0cbb6f45603c0d001f48e0ac1bb32 (diff)
downloadefl-33880a3d7c4b9afa3d3c5e1c1fe0b66ebeb28a81.tar.gz
elm_prefs_cc - clean up return with added brackets to be clear
it seems coverity gets confused with the sizeof(c) / sizeof(type). add () hoping it will silence it. this is related to: CID 1353600 and 1353599
-rw-r--r--src/bin/elementary/elm_prefs_cc_handlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/elm_prefs_cc_handlers.c b/src/bin/elementary/elm_prefs_cc_handlers.c
index 5df036de0b..a400d5bca9 100644
--- a/src/bin/elementary/elm_prefs_cc_handlers.c
+++ b/src/bin/elementary/elm_prefs_cc_handlers.c
@@ -733,13 +733,13 @@ New_Object_Handler object_handlers[] =
int
object_handler_num(void)
{
- return sizeof(object_handlers) / sizeof (New_Object_Handler);
+ return (sizeof(object_handlers) / sizeof (New_Object_Handler));
}
int
statement_handler_num(void)
{
- return sizeof(statement_handlers) / sizeof (New_Statement_Handler);
+ return (sizeof(statement_handlers) / sizeof (New_Statement_Handler));
}
static void