diff --git a/btree_key.cpp b/btree_key.cpp index 04d45b8..8b16fce 100644 --- a/btree_key.cpp +++ b/btree_key.cpp @@ -52,8 +52,10 @@ } // copyKeyString void -copyKeyPChar(void *, void *) { - +copyKeyPChar(void * srcKey, void * destKey) { + const char * charSrcKey = static_cast(srcKey); + char * charDestKey = static_cast(destKey); + strcpy(charDestKey, charSrcKey); } // copyKeyPChar void