- Problem: build error during test-hub
- Cause: The reason for the error is that the compiler suspects we might be
trying to round-trip a pointer through int and back. This was common
practice before the advent of 64-bit machines and it is not safe or reasonable.
- Solution: replace 'int' type-casting with 'intptr_t'.
Change-Id: I0fe0f8c4e8ebf6af45eb714f8284b7bc9371d1f8
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
GSList *l = 0;
int info_count = 0;
GSList *values = NULL;
- int type = (int)user_data;
+ int type = (intptr_t)user_data;
unsigned long long timestamp;
char buf[MENU_DATA_SIZE] = {0, };
char final_buf[MENU_DATA_SIZE * 4] = {0, };