summaryrefslogtreecommitdiffstats
path: root/Source/cmLocale.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocale.h')
-rw-r--r--Source/cmLocale.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocale.h b/Source/cmLocale.h
index e69c32e..f922c03 100644
--- a/Source/cmLocale.h
+++ b/Source/cmLocale.h
@@ -22,7 +22,7 @@ class cmLocaleRAII
public:
cmLocaleRAII()
- : OldLocale(setlocale(LC_CTYPE, 0))
+ : OldLocale(setlocale(LC_CTYPE, CM_NULLPTR))
{
setlocale(LC_CTYPE, "");
}