mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-08 23:04:15 +01:00
Fixed const correctness in functions using 'wusergnusteppath'
The change introduced in previous commit for const correctness has a small impact on WindowMaker's code, this patch fixes all the new warnings.
This commit is contained in:
committed by
Carlos R. Mafra
parent
cd1c55d63c
commit
a18fd7cd69
@@ -61,7 +61,7 @@ char *WMGetApplicationName()
|
||||
return WMApplication.applicationName;
|
||||
}
|
||||
|
||||
static char *checkFile(char *path, char *folder, char *ext, char *resource)
|
||||
static char *checkFile(const char *path, const char *folder, const char *ext, const char *resource)
|
||||
{
|
||||
char *ret;
|
||||
int extralen;
|
||||
|
||||
Reference in New Issue
Block a user