src/stringlist.c
changeset 107 fbef1c59da96
parent 98 9e3d28932e7b
child 109 297efc53ba70
     1.1 --- a/src/stringlist.c	Wed Mar 11 15:38:51 2015 +0100
     1.2 +++ b/src/stringlist.c	Wed Mar 11 15:54:19 2015 +0100
     1.3 @@ -7,7 +7,7 @@
     1.4  
     1.5  DYNAMIC_API stringlist_t *new_stringlist(const char *value)
     1.6  {
     1.7 -    stringlist_t *result = (stringlist_t *) calloc(1, sizeof(stringlist_t));
     1.8 +    stringlist_t *result = calloc(1, sizeof(stringlist_t));
     1.9      if (result && value) {
    1.10          result->value = strdup(value);
    1.11          assert(result->value);