summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f4594fc..b1b1a5d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -232,8 +232,8 @@ parseLine(char *line, message *data)
data->msg_type = IMG;
char *lfn;
lfn = strsep(&line, ",");
- sscanf(lfn, "%s", &data->image_names);
- sscanf(line, "%s", &data->image_names[1]);
+ sscanf(lfn, "%s", (char *) &data->image_names);
+ sscanf(line, "%s", (char *) &data->image_names[1]);
} else if (!strcmp(msg_type,"inscovs")) {
double pos[9];
double att[9];