diff options
Diffstat (limited to 'src/arch/alpha/process.cc')
-rw-r--r-- | src/arch/alpha/process.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/alpha/process.cc b/src/arch/alpha/process.cc index 11fa187b1..314769535 100644 --- a/src/arch/alpha/process.cc +++ b/src/arch/alpha/process.cc @@ -148,9 +148,9 @@ AlphaProcess::argsInit(int intSize, int pageSize) // write contents to stack uint64_t argc = argv.size(); if (intSize == 8) - argc = htog((uint64_t)argc); + argc = htole((uint64_t)argc); else if (intSize == 4) - argc = htog((uint32_t)argc); + argc = htole((uint32_t)argc); else panic("Unknown int size"); |