fixed compilation error in testmemcpy.cpp