summaryrefslogtreecommitdiffstats
path: root/tests/auto/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/compiler')
-rw-r--r--tests/auto/compiler/tst_compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/compiler/tst_compiler.cpp b/tests/auto/compiler/tst_compiler.cpp
index 368620d..90eb357 100644
--- a/tests/auto/compiler/tst_compiler.cpp
+++ b/tests/auto/compiler/tst_compiler.cpp
@@ -640,7 +640,7 @@ static inline double qt_inf()
#endif
union { uchar c[8]; double d; } returnValue;
- qMemCopy(returnValue.c, bytes, sizeof(returnValue.c));
+ memcpy(returnValue.c, bytes, sizeof(returnValue.c));
return returnValue.d;
}