common: use REG_SZ, not SZ_REG in line with mips64 port for REG_OFFSET macro

pull/17/head
Ariadne Conill 2020-03-29 14:50:38 +00:00
parent 8631580fbb
commit d8cfe83e34
2 changed files with 2 additions and 2 deletions

View File

@ -33,6 +33,6 @@ __proc: \
.weak __alias; \
__alias = __real;
#define REG_OFFSET(__reg) (MCONTEXT_GREGS + ((__reg) * SZ_REG))
#define REG_OFFSET(__reg) (MCONTEXT_GREGS + ((__reg) * REG_SZ))
#endif

View File

@ -29,7 +29,7 @@
#define MCONTEXT_GREGS (40)
#define SZ_REG (8)
#define REG_SZ (8)
#include "common-defs.h"