summaryrefslogtreecommitdiff
path: root/src/arch/alpha/intregfile.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/alpha/intregfile.hh')
-rw-r--r--src/arch/alpha/intregfile.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/alpha/intregfile.hh b/src/arch/alpha/intregfile.hh
index 0d65f69e0..dea160992 100644
--- a/src/arch/alpha/intregfile.hh
+++ b/src/arch/alpha/intregfile.hh
@@ -35,7 +35,7 @@
#include "arch/alpha/types.hh"
#include <iostream>
-#include <strings.h>
+#include <cstring>
class Checkpoint;
@@ -71,7 +71,7 @@ namespace AlphaISA
void unserialize(Checkpoint *cp, const std::string &section);
void clear()
- { bzero(regs, sizeof(regs)); }
+ { std::memset(regs, 0, sizeof(regs)); }
};
}