diff --git a/scheduler/colorman.c b/scheduler/colorman.c index 4aa0ea2155..e873c33737 100644 --- a/scheduler/colorman.c +++ b/scheduler/colorman.c @@ -901,7 +901,7 @@ colord_create_device( DBusMessageIter dict; /* D-Bus method arguments */ DBusError error; /* D-Bus error */ const char *device_path; /* Device object path */ - char *profile_path; /* Profile path */ + const char *profile_path; /* Profile path */ char device_id[1024]; /* Device ID as understood by colord */ char format_str[1024]; /* Qualifier format as a string */ @@ -1014,7 +1014,7 @@ colord_create_profile( DBusError error; /* D-Bus error */ char *idstr; /* Profile ID string */ size_t idstrlen; /* Profile ID allocated length */ - const char *profile_path; /* Device object path */ + char *profile_path; /* Device object path */ char format_str[1024]; /* Qualifier format as a string */