X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/2501ff5278198b17c195536d0953cbb40d1a5d3b..9a834ba2e0caea6edffec5c1db403cf9832ea96e:/stglibs/ibpp.lib/blob.cpp 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(data.data()+pos)); if (result == isc_segstr_eof) break; // End of blob