From e0b892796d218e0ad64ed6698640e1923662d943 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Tue, 28 Jun 2016 07:13:04 +0300 Subject: Fix a couple of harmless warnings Signed-off-by: Alexander Golubev --- dcop/client/marshall.cpp | 2 +- tdeabc/ldapurl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dcop/client/marshall.cpp b/dcop/client/marshall.cpp index 709e7d5af..354ad03e8 100644 --- a/dcop/client/marshall.cpp +++ b/dcop/client/marshall.cpp @@ -273,7 +273,7 @@ void marshall( TQDataStream &arg, QCStringList args, uint &i, TQString type ) { if( i >= args.count() ) { - tqWarning("Not enough arguments (expected %d, got %d).", i, args.count()); + tqWarning("Not enough arguments (expected %u, got %lu).", i, args.count()); exit(1); } TQString s = TQString::fromLocal8Bit( args[ i ] ); diff --git a/tdeabc/ldapurl.h b/tdeabc/ldapurl.h index 9a189655e..635c24be6 100644 --- a/tdeabc/ldapurl.h +++ b/tdeabc/ldapurl.h @@ -48,7 +48,7 @@ namespace TDEABC { bool critical; }; - typedef enum Scope { Base, One, Sub }; + enum Scope { Base, One, Sub }; /** Constructs an empty KLDAPUrl. */ LDAPUrl(); -- cgit v1.2.3