From 04130842ae8fb7952e5055dfe8769d6ecf47aafa Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 28 Mar 2013 15:09:29 -0400 Subject: [PATCH] Remove spurious cast --- ini/ini_get_valueobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ini/ini_get_valueobj.c b/ini/ini_get_valueobj.c index a7efe95bee97702905e2b17dbd85ad29d815a6e4..dad99329aa4b518772f23a14b919445a1dd3c00e 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); -- 1.8.0