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();