diff options
author | mrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-04 23:46:55 +0000 |
---|---|---|
committer | mrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-04 23:46:55 +0000 |
commit | 5e8d3b63612d5038473632fdb96aff3a92aee9b7 (patch) | |
tree | e7a4f71c58bbec6e855f8b8aeb1c9b34687dc8ad /ASNMP | |
parent | 49153145e576479a90b4d4898ebcf2154fb98e82 (diff) | |
download | ATCD-5e8d3b63612d5038473632fdb96aff3a92aee9b7.tar.gz |
remove unnecessry cast
Diffstat (limited to 'ASNMP')
-rw-r--r-- | ASNMP/asnmp/octet.cpp | 2 |
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; |