18 lines
676 B
Plaintext
18 lines
676 B
Plaintext
$NetBSD: patch-ab,v 1.6 2013/10/27 21:21:26 dholland Exp $
|
|
|
|
--- src/celutil/formatnum.cpp.orig 2006-02-13 14:33:02.000000000 +0000
|
|
+++ src/celutil/formatnum.cpp
|
|
@@ -61,9 +61,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));
|
|
|