summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2016-06-28 04:13:04 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2017-01-29 01:27:14 (GMT)
commite0b892796d218e0ad64ed6698640e1923662d943 (patch)
tree146fb4dc5e506108d4839f90f2971e1b9b6002ee
parent26d76a4c048d99e282356616ca8e1e5ad45a7f53 (diff)
downloadtdelibs-e0b89279.zip
tdelibs-e0b89279.tar.gz
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 709e7d5..354ad03 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 9a18965..635c24b 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();