Prevent including garbage at broadcast_transition_info() where an id
is extended to a 64-bit size datatype.
Change-Id: I5aabaecbb3a8dfa5a54aa7bd43248546e731bca6
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit
98289c214d9a610c009505639353bb49a8f69d65)
static int max_wait_timeout = DEFAULT_MAX_WAIT_SECOND;
static GQueue *transition_queue;
static struct {
- int id;
+ uint64_t id;
int ongoing;
struct trans_info ti;
GList *waitings;
return 0;
}
-static int alloc_unique_id(void)
+static uint64_t alloc_unique_id(void)
{
- static int id = 0;
+ static uint64_t id = 0;
return ++id;
}