summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-03-28 15:09:29 -0400
committerOndrej Kos <okos@redhat.com>2013-03-29 10:14:48 +0100
commitff863970210e07383b6ffd9e5000b5d07d3a359b (patch)
treed52083a50081693e50731d161060de95fdd10151
parent6ae982f110aa4c0d1e842b61d62fd3015973c8ee (diff)
downloadding-libs2-ff863970210e07383b6ffd9e5000b5d07d3a359b.tar.gz
ding-libs2-ff863970210e07383b6ffd9e5000b5d07d3a359b.tar.xz
ding-libs2-ff863970210e07383b6ffd9e5000b5d07d3a359b.zip
Remove spurious cast
-rw-r--r--ini/ini_get_valueobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ini/ini_get_valueobj.c b/ini/ini_get_valueobj.c
index a7efe95..dad9932 100644
--- a/ini/ini_get_valueobj.c
+++ b/ini/ini_get_valueobj.c
@@ -224,7 +224,7 @@ int ini_get_config_valueobj(const char *section,
return EOK;
}
- if ((hash == (unsigned long int)col_get_item_hash(item)) &&
+ if ((hash == col_get_item_hash(item)) &&
(strncasecmp(col_get_item_property(item, &len), name, name_len) == 0) &&
(len == name_len)) {
TRACE_INFO_STRING("Item is found", name);