Frédéric Delanoy : shell32/tests: Constify some character strings.
Module: wine Branch: master Commit: 7b9058c87a3538dd0cc2d227b401905ba81c3edc URL: http://source.winehq.org/git/wine.git/?a=commit;h=7b9058c87a3538dd0cc2d227b4... Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com> Date: Sat Dec 28 14:10:48 2013 +0100 shell32/tests: Constify some character strings. --- dlls/shell32/tests/shlfolder.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c index 0992924..f692837 100644 --- a/dlls/shell32/tests/shlfolder.c +++ b/dlls/shell32/tests/shlfolder.c @@ -1970,8 +1970,8 @@ static void test_SHGetFolderPathAndSubDirA(void) BOOL delret; DWORD dwret; int i; - static char wine[] = "wine"; - static char winetemp[] = "wine\\temp"; + static const char wine[] = "wine"; + static const char winetemp[] = "wine\\temp"; static char appdata[MAX_PATH]; static char testpath[MAX_PATH]; static char toolongpath[MAX_PATH+1];
participants (1)
-
Alexandre Julliard