X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..b2feeb7214b97678c52075570e40e52828914a82:/stglibs/ibpp.lib/blob.cpp?ds=sidebyside

diff --git a/stglibs/ibpp.lib/blob.cpp b/stglibs/ibpp.lib/blob.cpp
index cfdd61fe..298fe706 100644
--- a/stglibs/ibpp.lib/blob.cpp
+++ b/stglibs/ibpp.lib/blob.cpp
@@ -118,7 +118,7 @@ int BlobImpl::Read(void* buffer, int size)
 
 	IBS status;
 	unsigned short bytesread;
-	int result = (*gds.Call()->m_get_segment)(status.Self(), &mHandle, &bytesread,
+	ISC_STATUS result = (*gds.Call()->m_get_segment)(status.Self(), &mHandle, &bytesread,
 					(unsigned short)size, (char*)buffer);
 	if (result == isc_segstr_eof) return 0;	// Fin du blob
 	if (result != isc_segment && status.Errors())
@@ -230,7 +230,7 @@ void BlobImpl::Load(std::string& data)
 	{
 		status.Reset();
 		unsigned short bytesread;
-		int result = (*gds.Call()->m_get_segment)(status.Self(), &mHandle,
+		ISC_STATUS result = (*gds.Call()->m_get_segment)(status.Self(), &mHandle,
 						&bytesread, (unsigned short)blklen,
 							const_cast<char*>(data.data()+pos));
 		if (result == isc_segstr_eof) break;	// End of blob