diff -ur libplist-1.7/libcnary/node.c libplist-1.7/libcnary/node.c --- libplist-1.7/libcnary/node.c 2011-09-26 03:12:45.000000000 -1000 +++ libplist-1.7/libcnary/node.c 2011-10-11 21:28:31.000000000 -1000 @@ -104,7 +104,7 @@ int node_insert(node_t* parent, unsigned int index, node_t* child) { - if (!parent || !child) return; + if (!parent || !child) return -1; child->isLeaf = TRUE; child->isRoot = FALSE; child->parent = parent; diff -ur libplist-1.7/src/base64.c libplist-1.7/src/base64.c --- libplist-1.7/src/base64.c 2011-09-26 03:12:45.000000000 -1000 +++ libplist-1.7/src/base64.c 2011-10-11 21:27:36.000000000 -1000 @@ -104,9 +104,9 @@ unsigned char *base64decode(const char *buf, size_t *size) { - if (!buf) return; + if (!buf) return NULL; size_t len = strlen(buf); - if (len <= 0) return; + if (len <= 0) return NULL; unsigned char *outbuf = (unsigned char*)malloc((len/4)*3+3); unsigned char *line;