path: shut up cppcheck " Unusual pointer arithmetic" error
[src/path.h:252]: (error) Unusual pointer arithmetic
This commit is contained in:
parent
f26e86a77f
commit
598baf257f
|
@ -249,7 +249,7 @@ public:
|
||||||
if(action == GET)
|
if(action == GET)
|
||||||
{
|
{
|
||||||
std::string thePath = pathToCopy;
|
std::string thePath = pathToCopy;
|
||||||
std::string relativePath = "." + DIRECTORY_DELIMITER_CHAR;
|
std::string relativePath = (std::string)"." + DIRECTORY_DELIMITER_CHAR;
|
||||||
|
|
||||||
int len = (int)thePath.size()-1;
|
int len = (int)thePath.size()-1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue