X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/73f662acc31034cd98fdc6e157454f7763ef0792..1347f3d1e04bedd1508589173f577673ee2c5554:/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