#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include <glib.h>
#include <wifi-direct.h>
}
service->type = type;
- service->id = (int) &service;
+ service->id = (intptr_t) &service;
info1 = g_strndup(info_str, strlen(info_str));
if(info1 == NULL) {