summaryrefslogtreecommitdiffstats
path: root/qtools/qdatastream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qdatastream.cpp')
-rw-r--r--qtools/qdatastream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qdatastream.cpp b/qtools/qdatastream.cpp
index 7f63cbf..8505dd4 100644
--- a/qtools/qdatastream.cpp
+++ b/qtools/qdatastream.cpp
@@ -412,7 +412,7 @@ static Q_INT32 read_int_ascii( QDataStream *s )
n++;
}
buf[n] = '\0';
- return atol( buf );
+ return (Q_INT32)atol( buf );
}