From 8d49342be2a800f97e338a179c3d9dfd6dac2d47 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 9 Oct 2023 16:28:13 +0900 Subject: Removed unsupported qtint*/qtuint* types Signed-off-by: Michele Calgaro (cherry picked from commit 9300f9e576b0f014f2f18e9204d8bad7e2cc68a9) --- dcop/dcopclient.cpp | 2 +- dcop/dcopglobal.h | 2 +- dcop/dcopserver.cpp | 2 +- dcop/dcopserver.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dcop/dcopclient.cpp b/dcop/dcopclient.cpp index f5588ad3c..0aae67b7a 100644 --- a/dcop/dcopclient.cpp +++ b/dcop/dcopclient.cpp @@ -821,7 +821,7 @@ bool DCOPClient::attachInternal( bool registerAsAnonymous ) emit attachFailed(TQString::fromLatin1( "Could not read network connection list.\n" )+TQFile::decodeName(fName)); return false; } - int size = TQMIN( (qint64)1024, f.size() ); // protection against a huge file + int size = TQMIN( (long)1024, f.size() ); // protection against a huge file TQCString contents( size+1 ); if ( f.readBlock( contents.data(), size ) != size ) { diff --git a/dcop/dcopglobal.h b/dcop/dcopglobal.h index 559037d2f..de6a9b223 100644 --- a/dcop/dcopglobal.h +++ b/dcop/dcopglobal.h @@ -37,7 +37,7 @@ #define DCOPReplyDelayed 6 #define DCOPFind 7 -#define INT32 QINT32 +#define INT32 TQ_INT32 #ifdef Q_WS_X11 #include #include diff --git a/dcop/dcopserver.cpp b/dcop/dcopserver.cpp index ec6086f09..a565df405 100644 --- a/dcop/dcopserver.cpp +++ b/dcop/dcopserver.cpp @@ -1618,7 +1618,7 @@ static bool isRunning(const TQCString &fName, bool printNetworkId = false) if (::access(fName.data(), R_OK) == 0) { TQFile f(fName); f.open(IO_ReadOnly); - int size = TQMIN( (qint64)1024, f.size() ); // protection against a huge file + int size = TQMIN( (long)1024, f.size() ); // protection against a huge file TQCString contents( size+1 ); bool ok = f.readBlock( contents.data(), size ) == size; contents[size] = '\0'; diff --git a/dcop/dcopserver.h b/dcop/dcopserver.h index 77c88f62e..c9ff4d3ff 100644 --- a/dcop/dcopserver.h +++ b/dcop/dcopserver.h @@ -34,7 +34,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include -#define INT32 QINT32 +#define INT32 TQ_INT32 #ifdef Q_WS_X11 #include #include -- cgit v1.2.3