summaryrefslogtreecommitdiff
path: root/misc/celestia/patches/patch-ab
blob: d25d0fe14e8037069b9fc963c381becfc4846e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.4 2006/03/25 18:10:09 joerg Exp $

--- src/celutil/formatnum.cpp.orig	2006-03-25 18:04:47.000000000 +0000
+++ src/celutil/formatnum.cpp
@@ -60,9 +60,9 @@ std::ostream& operator<<(std::ostream& o
     char buf[32];
     char obuf[64];
     double value = num.getRoundedValue();
-    char *decimal_point = localeconv()->decimal_point;
-    char *thousands_sep = localeconv()->thousands_sep;
-    char *grouping = localeconv()->grouping;
+    const char *decimal_point = localeconv()->decimal_point;
+    const char *thousands_sep = localeconv()->thousands_sep;
+    const char *grouping = localeconv()->grouping;
 
     memset(obuf, 0, sizeof(obuf));