diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.abi/bitfields.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.abi/bitfields.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.abi/bitfields.C b/gcc/testsuite/g++.old-deja/g++.abi/bitfields.C index 75b6571b1dc..57d06b36744 100644 --- a/gcc/testsuite/g++.old-deja/g++.abi/bitfields.C +++ b/gcc/testsuite/g++.old-deja/g++.abi/bitfields.C @@ -55,7 +55,7 @@ check_bits (char *buf, #define CHECK_FIELD(AGGREGATE, FIELD, START_BIT, NUM_BITS, RVAL) \ do { \ AGGREGATE a__; \ - memset (& a__, 0, sizeof (a__)); \ + std::memset (& a__, 0, sizeof (a__)); \ a__.FIELD = -1; \ if (! check_bits ((char *) & a__, sizeof (a__), START_BIT, NUM_BITS)) \ return RVAL; \ |