summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qtools/qglobal.cpp2
-rw-r--r--qtools/qstring.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/qtools/qglobal.cpp b/qtools/qglobal.cpp
index 50f5202..444cb3b 100644
--- a/qtools/qglobal.cpp
+++ b/qtools/qglobal.cpp
@@ -73,7 +73,7 @@ static bool si_bigEndian;
or to FALSE if this is a little-endian machine.
This function calls qFatal() with a message if the computer is truly weird
- (i.e. different endianness for 16 bit and 32 bit integers).
+ (i.e. different endianess for 16 bit and 32 bit integers).
*/
bool qSysInfo( int *wordSize, bool *bigEndian )
diff --git a/qtools/qstring.cpp b/qtools/qstring.cpp
index e809d0d..3d57839 100644
--- a/qtools/qstring.cpp
+++ b/qtools/qstring.cpp
@@ -15300,7 +15300,7 @@ const void* qt_winTchar(const QString& str_in, bool addnul)
if ( addnul )
buf[str.length()] = 0;
#else
- // Same endianness of TCHAR
+ // Same endianess of TCHAR
if ( addnul ) {
EXTEND
memcpy(buf,uc,sizeof(TCHAR)*str.length());
@@ -15344,7 +15344,7 @@ QString qt_winQString(void* tc)
r += QChar(((TCHAR*)tc)[i]&0xff,((TCHAR*)tc)[i]>>8);
return r;
#else
- // Same endianness of TCHAR
+ // Same endianess of TCHAR
return QString((QChar*)tc,len);
#endif
#undef EXTEND