summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ASNMP/asnmp/octet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ASNMP/asnmp/octet.cpp b/ASNMP/asnmp/octet.cpp
index a1daca358ee..c35d1dea3a9 100644
--- a/ASNMP/asnmp/octet.cpp
+++ b/ASNMP/asnmp/octet.cpp
@@ -66,7 +66,7 @@ int copy_octet_smi(SmiVALUE& smi, int size, const char *src, int& valid_flag)
delete [] smi.value.string.ptr;
ACE_NEW_RETURN(smi.value.string.ptr, SmiBYTE[size], 1);
- ACE_OS::memcpy( smi.value.string.ptr, src, (size_t) size);
+ ACE_OS::memcpy( smi.value.string.ptr, src, size);
smi.value.string.len = size;
valid_flag = TRUE;
return 0;