diff --git a/dcop/client/marshall.cpp b/dcop/client/marshall.cpp index 32d448c71..c7142d31b 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() ) { - qWarning("Not enough arguments (expected %d, got %d).", i, args.count()); + qWarning("Not enough arguments (expected %u, got %lu).", i, args.count()); exit(1); } TQString s = TQString::fromLocal8Bit( args[ i ] ); diff --git a/kabc/ldapurl.h b/kabc/ldapurl.h index 0c2693758..72fb4bd55 100644 --- a/kabc/ldapurl.h +++ b/kabc/ldapurl.h @@ -48,7 +48,7 @@ namespace KABC { bool critical; }; - typedef enum Scope { Base, One, Sub }; + enum Scope { Base, One, Sub }; /** Constructs an empty KLDAPUrl. */ LDAPUrl();