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:27:14 +0100
commite0b892796d218e0ad64ed6698640e1923662d943 (patch)
tree146fb4dc5e506108d4839f90f2971e1b9b6002ee
parent26d76a4c048d99e282356616ca8e1e5ad45a7f53 (diff)
downloadtdelibs-e0b892796d218e0ad64ed6698640e1923662d943.tar.gz
tdelibs-e0b892796d218e0ad64ed6698640e1923662d943.zip
Fix a couple of harmless warnings
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
-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();