diff options
Diffstat (limited to 'idlc/source/idlccompile.cxx')
-rw-r--r-- | idlc/source/idlccompile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx index 5066752b3599..03b9a517f9e3 100644 --- a/idlc/source/idlccompile.cxx +++ b/idlc/source/idlccompile.cxx @@ -180,8 +180,8 @@ bool copyFile(const OString* source, const OString& target) return false; } - size_t totalSize = 512; - char pBuffer[513]; + size_t const totalSize = 512; + char pBuffer[totalSize + 1]; while ( !feof(pSource) ) { |