Fixed some warning

This commit is contained in:
Martin Pulec
2015-10-30 11:13:47 +01:00
parent 98e0ca3cf4
commit dca69d802d

View File

@@ -114,7 +114,7 @@ static void * scale_init(const char *config) {
return NULL;
}
const char *tmp = strdup(config);
char *tmp = strdup(config);
s = (struct state_scale *)
malloc(sizeof(struct state_scale));