summaryrefslogtreecommitdiff
path: root/qtools/qtextstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qtextstream.cpp')
-rw-r--r--qtools/qtextstream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtools/qtextstream.cpp b/qtools/qtextstream.cpp
index 4ebf59e..ffbdeba 100644
--- a/qtools/qtextstream.cpp
+++ b/qtools/qtextstream.cpp
@@ -1596,7 +1596,7 @@ QTextStream &QTextStream::output_int( int format, ulong n, bool neg )
static char hexdigits_upper[] = "0123456789ABCDEF";
CHECK_STREAM_PRECOND
char buf[76];
- register char *p;
+ char *p;
int len;
char *hexdigits;
@@ -1784,7 +1784,7 @@ QTextStream &QTextStream::operator<<( double f )
f_char = (flags() & uppercase) ? 'E' : 'e';
else
f_char = (flags() & uppercase) ? 'G' : 'g';
- register char *fs = format; // generate format string
+ char *fs = format; // generate format string
*fs++ = '%'; // "%.<prec>l<f_char>"
*fs++ = '.';
int prec = precision();