diff --git a/libretroshare/src/serialiser/rswikiitems.cc b/libretroshare/src/serialiser/rswikiitems.cc index 5988e2c82..fa4b2be72 100644 --- a/libretroshare/src/serialiser/rswikiitems.cc +++ b/libretroshare/src/serialiser/rswikiitems.cc @@ -50,7 +50,7 @@ uint32_t RsGxsWikiSerialiser::size(RsItem *item) { return sizeGxsWikiCommentItem(com_item); } - return NULL; + return 0; } bool RsGxsWikiSerialiser::serialise(RsItem *item, void *data, uint32_t *size) diff --git a/libretroshare/src/serialiser/rswireitems.cc b/libretroshare/src/serialiser/rswireitems.cc index 5f3076629..68ec68741 100644 --- a/libretroshare/src/serialiser/rswireitems.cc +++ b/libretroshare/src/serialiser/rswireitems.cc @@ -45,7 +45,7 @@ uint32_t RsGxsWireSerialiser::size(RsItem *item) { return sizeGxsWirePulseItem(snap_item); } - return NULL; + return 0; } bool RsGxsWireSerialiser::serialise(RsItem *item, void *data, uint32_t *size)