From 0d106032deef668caa4e0db3b9dc37ff9ed8417a Mon Sep 17 00:00:00 2001 From: sehraf Date: Fri, 3 Jun 2016 09:02:19 +0200 Subject: [PATCH] fix build errors (return typ is a pointer and not boolean) --- libretroshare/src/gxstunnel/rsgxstunnelitems.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libretroshare/src/gxstunnel/rsgxstunnelitems.cc b/libretroshare/src/gxstunnel/rsgxstunnelitems.cc index 2557e0028..be0ff42c7 100644 --- a/libretroshare/src/gxstunnel/rsgxstunnelitems.cc +++ b/libretroshare/src/gxstunnel/rsgxstunnelitems.cc @@ -381,8 +381,8 @@ RsGxsTunnelDataItem *RsGxsTunnelSerialiser::deserialise_RsGxsTunnelDataItem(void if(rssize > size) { - std::cerr << "RsGxsTunnelDataItem::() Size error while deserializing." << std::endl ; - return false ; + std::cerr << "RsGxsTunnelDataItem::() Size error while deserializing." << std::endl ; + return NULL ; } RsGxsTunnelDataItem *item = new RsGxsTunnelDataItem(); @@ -464,8 +464,8 @@ RsGxsTunnelStatusItem *RsGxsTunnelSerialiser::deserialise_RsGxsTunnelStatusItem( if(rssize > size) { - std::cerr << "RsGxsTunnelStatusItem::() Size error while deserializing." << std::endl ; - return false ; + std::cerr << "RsGxsTunnelStatusItem::() Size error while deserializing." << std::endl ; + return NULL ; } RsGxsTunnelStatusItem *item = new RsGxsTunnelStatusItem();