From dcd5e2bef57e17883effa899aa048c5812abaadd Mon Sep 17 00:00:00 2001 From: Stathis Kamperis Date: Sun, 3 Feb 2008 23:08:26 +0100 Subject: [PATCH] Don't cast void * to prop_dictionary_t. It's done implicitly --- proplib/prop_parse_du.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proplib/prop_parse_du.c b/proplib/prop_parse_du.c index 16c2204..ab598bd 100644 --- a/proplib/prop_parse_du.c +++ b/proplib/prop_parse_du.c @@ -141,11 +141,11 @@ int main(void) /* Extract all pairs and print them to stdout */ printf("Path: %s\nSize in bytes: %lld\nIs it dir?: %s\n", prop_string_cstring( - prop_dictionary_get((prop_dictionary_t)po, "path")), + prop_dictionary_get(po, "path")), prop_number_integer_value( - prop_dictionary_get((prop_dictionary_t)po, "size in bytes")), + prop_dictionary_get(po, "size in bytes")), prop_bool_true( - prop_dictionary_get((prop_dictionary_t)po, "is it dir?")) == TRUE ? + prop_dictionary_get(po, "is it dir?")) == TRUE ? "TRUE" : "FALSE"); /* Release root dictionary */ -- 2.11.4.GIT