summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2016-06-28 07:13:04 +0300
committerSlávek Banko <slavek.banko@axis.cz>2017-01-29 02:48:49 +0100
commit14aee6dcdbcd19ebba3371d4d59e4f09171aea5f (patch)
tree2b7f31d39af1f5e58a50fe8bd95994ee7f985a50
parent73da3d8e5cd6a22dd83a8c1cb51db5b0328480da (diff)
downloadtdelibs-14aee6dcdbcd19ebba3371d4d59e4f09171aea5f.tar.gz
tdelibs-14aee6dcdbcd19ebba3371d4d59e4f09171aea5f.zip
Fix a couple of harmless warnings
Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit e0b892796d218e0ad64ed6698640e1923662d943)
-rw-r--r--dcop/client/marshall.cpp2
-rw-r--r--tdeabc/ldapurl.h2
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();