--- src/binreloc.cxx +++ src/binreloc.cxx @@ -744,7 +744,7 @@ if (path == (const char *) NULL) return (char *) NULL; - end = strrchr (path, '/'); + end = strrchr ((char *)path, '/'); if (end == (const char *) NULL) return strdup (".");