diff options
-rw-r--r-- | qtools/qdatastream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qdatastream.cpp b/qtools/qdatastream.cpp index c169d9f..d539daf 100644 --- a/qtools/qdatastream.cpp +++ b/qtools/qdatastream.cpp @@ -799,7 +799,7 @@ QDataStream &QDataStream::operator<<( Q_INT64 i ) } else { // swap bytes uchar *p = (uchar *)(&i); char b[sizeof(Q_INT64)]; - if ( sizeof(b) == 8 ) { + if ( sizeof(Q_INT64) == 8 ) { b[7] = *p++; b[6] = *p++; b[5] = *p++; |