Added typecasts
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -387,7 +387,7 @@ com_capa (char *arg) | ... | @@ -387,7 +387,7 @@ com_capa (char *arg) |
387 | iterator_next (iterator)) | 387 | iterator_next (iterator)) |
388 | { | 388 | { |
389 | char *capa = NULL; | 389 | char *capa = NULL; |
390 | iterator_current (iterator, &capa); | 390 | iterator_current (iterator, (void **) &capa); |
391 | printf ("Capa: %s\n", (capa) ? capa : ""); | 391 | printf ("Capa: %s\n", (capa) ? capa : ""); |
392 | } | 392 | } |
393 | iterator_destroy (&iterator); | 393 | iterator_destroy (&iterator); |
... | @@ -413,7 +413,7 @@ com_uidl (char *arg) | ... | @@ -413,7 +413,7 @@ com_uidl (char *arg) |
413 | iterator_next (uidl_iterator)) | 413 | iterator_next (uidl_iterator)) |
414 | { | 414 | { |
415 | char *uidl = NULL; | 415 | char *uidl = NULL; |
416 | iterator_current (uidl_iterator, &uidl); | 416 | iterator_current (uidl_iterator, (void **) &uidl); |
417 | printf ("UIDL: %s\n", (uidl) ? uidl : "") ; | 417 | printf ("UIDL: %s\n", (uidl) ? uidl : "") ; |
418 | } | 418 | } |
419 | iterator_destroy (&uidl_iterator); | 419 | iterator_destroy (&uidl_iterator); |
... | @@ -449,7 +449,7 @@ com_list (char *arg) | ... | @@ -449,7 +449,7 @@ com_list (char *arg) |
449 | iterator_next (list_iterator)) | 449 | iterator_next (list_iterator)) |
450 | { | 450 | { |
451 | char *list = NULL; | 451 | char *list = NULL; |
452 | iterator_current (list_iterator, &list); | 452 | iterator_current (list_iterator, (void **) &list); |
453 | printf ("LIST: %s\n", (list) ? list : ""); | 453 | printf ("LIST: %s\n", (list) ? list : ""); |
454 | } | 454 | } |
455 | iterator_destroy (&list_iterator); | 455 | iterator_destroy (&list_iterator); | ... | ... |
-
Please register or sign in to post a comment