Hint : Add 'f' to float explicitly 49/51949/1
authorJin Yoon <jinny.yoon@samsung.com>
Tue, 17 Nov 2015 11:44:28 +0000 (20:44 +0900)
committerJin Yoon <jinny.yoon@samsung.com>
Tue, 17 Nov 2015 11:44:28 +0000 (20:44 +0900)
Change-Id: I14181c3e0b736c750acd1ef575c5bc5cb10091ca

TelegramTizen/src/tg_init_screen.c
TelegramTizen/src/tg_search_peer_view.c
TelegramTizen/src/tg_user_main_view.c

index d30a7b0..77c91af 100644 (file)
 #include "index.h"
 
 #define MAX_INDEX 7
-#define RIGHT_BUTTON_WIDTH (320*1.4)
-#define RIGHT_BUTTON_HEIGHT (104*1.4)
+#define RIGHT_BUTTON_WIDTH (320*1.4f)
+#define RIGHT_BUTTON_HEIGHT (104*1.4f)
 
-#define LEFT_BUTTON_WIDTH (320*1.4)
-#define LEFT_BUTTON_HEIGHT (104*1.4)
+#define LEFT_BUTTON_WIDTH (320*1.4f)
+#define LEFT_BUTTON_HEIGHT (104*1.4f)
 
-#define CENTER_BUTTON_WIDTH (496*1.4)
-#define CENTER_BUTTON_HEIGHT (104*1.4)
+#define CENTER_BUTTON_WIDTH (496*1.4f)
+#define CENTER_BUTTON_HEIGHT (104*1.4f)
 
 static void _set_init_screen(Evas_Object *layout);
 
index 9cd4388..c8f1194 100755 (executable)
@@ -13,7 +13,7 @@
 #include "device_contacts_manager.h"
 
 #define COMMAND_MENU_ITEM_COUNT 2
-#define MOBILE_BUTTON_SIZE (98*1.4)
+#define MOBILE_BUTTON_SIZE (98*1.4f)
 
 typedef struct {
        char* string;
index d88b2c6..1a40f12 100644 (file)
@@ -17,7 +17,7 @@
 #include "tg_main_item_deletion_view.h"
 #include "tg_search_message_view.h"
 
-#define IMAGE_SIZE (36*1.4)
+#define IMAGE_SIZE (36*1.4f)
 
 
 static Evas_Object *create_image_object_from_file(const char *icon_name, Evas_Object *parent)