diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-10-13 21:19:31 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-10-13 21:19:31 +0200 |
| commit | b920d37f4eeb054123b475463e6e90025b61cef2 (patch) | |
| tree | 9151e24f3370c48ed6dbf0162f513ba5de025a38 /src/libtools | |
| parent | 3cb2bc31a83edbb9f376c39f2c85ea2fb02f8238 (diff) | |
| download | box64-b920d37f4eeb054123b475463e6e90025b61cef2.tar.gz box64-b920d37f4eeb054123b475463e6e90025b61cef2.zip | |
And this one can be const too
Diffstat (limited to 'src/libtools')
| -rw-r--r-- | src/libtools/myalign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtools/myalign.c b/src/libtools/myalign.c index 36873cba..6cb96ab7 100644 --- a/src/libtools/myalign.c +++ b/src/libtools/myalign.c @@ -13,7 +13,7 @@ #include "myalign.h" #include "debug.h" -static int regs_abi[] = {_DI, _SI, _DX, _CX, _R8, _R9}; +static const int regs_abi[] = {_DI, _SI, _DX, _CX, _R8, _R9}; void myStackAlign(x64emu_t* emu, const char* fmt, uint64_t* st, uint64_t* mystack, int xmm, int pos) { |