summaryrefslogtreecommitdiff
path: root/src/resources/wallpaper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/wallpaper.cpp')
-rw-r--r--src/resources/wallpaper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp
index 0bbbbfa2a..513e1c8fc 100644
--- a/src/resources/wallpaper.cpp
+++ b/src/resources/wallpaper.cpp
@@ -93,7 +93,7 @@ void Wallpaper::loadWallpapers()
{
wallpaperData.clear();
initDefaultWallpaperPaths();
- char **imgs = PhysFs::enumerateFiles(wallpaperPath.c_str());
+ char **const imgs = PhysFs::enumerateFiles(wallpaperPath.c_str());
for (char **i = imgs; *i; i++)
{