From 9e8131f73bfa8238f6f2d1fe4ba7778eacc97c78 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Wed, 20 Feb 2013 21:30:37 -0800 Subject: [PATCH] Fix return values for Read_LCS & Write_LCS. --- .../Plasma/NucleusLib/pnNetProtocol/Private/pnNpCommon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Plasma/NucleusLib/pnNetProtocol/Private/pnNpCommon.cpp b/Sources/Plasma/NucleusLib/pnNetProtocol/Private/pnNpCommon.cpp index 6b77eb50..cf6c209e 100644 --- a/Sources/Plasma/NucleusLib/pnNetProtocol/Private/pnNpCommon.cpp +++ b/Sources/Plasma/NucleusLib/pnNetProtocol/Private/pnNpCommon.cpp @@ -333,7 +333,7 @@ NetVaultNode::~NetVaultNode () { } //============================================================================ -unsigned NetVaultNode::Read_LCS (const uint8_t inbuffer[], uint32_t bufsz, unsigned rwOpts) { +uint32_t NetVaultNode::Read_LCS (const uint8_t inbuffer[], uint32_t bufsz, unsigned rwOpts) { DeallocNodeFields(); @@ -391,7 +391,7 @@ unsigned NetVaultNode::Read_LCS (const uint8_t inbuffer[], uint32_t bufsz, unsig } //============================================================================ -unsigned NetVaultNode::Write_LCS (ARRAY(uint8_t) * buffer, unsigned rwOpts) { +uint32_t NetVaultNode::Write_LCS (ARRAY(uint8_t) * buffer, unsigned rwOpts) { unsigned pos = buffer->Count();