diff options
author | Danny Kukawka <danny.kukawka@web.de> | 2009-05-24 17:58:18 +0200 |
---|---|---|
committer | Danny Kukawka <danny.kukawka@web.de> | 2009-05-24 17:58:18 +0200 |
commit | 60d87c82f29c485baf3d6a51b6535919a73c5ab2 (patch) | |
tree | 9d055f44717ba0958df623e6ac7f679210992fd9 | |
parent | 7e8c2e7467a48179238342de47f42bf0894ba9f8 (diff) |
fixed compiler warning
Fixed compiler warning: "passing argument 2 of ‘hal_util_decode_escape’
discards qualifiers from pointer target type"
-rw-r--r-- | hald/linux/coldplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hald/linux/coldplug.c b/hald/linux/coldplug.c index 276382d8..5f5b4f71 100644 --- a/hald/linux/coldplug.c +++ b/hald/linux/coldplug.c @@ -256,7 +256,7 @@ hal_util_init_sysfs_to_udev_map (void) } else if (strncmp(line, "E: ID_FS_LABEL_ENC=", 19) == 0) { len = strlen (&line[15]); info->fslabel = g_malloc0 (len + 1); - hal_util_decode_escape (&line[19], info->fslabel, len + 1); + hal_util_decode_escape (&line[19], (char *)info->fslabel, len + 1); } } |