17 lines
673 B
Text
17 lines
673 B
Text
$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));
|
|
|