hurd: Use uintptr_t for register values in trampoline.c
authorSergey Bugaev <bugaevc@gmail.com>
Sun, 19 Mar 2023 15:09:58 +0000 (18:09 +0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 2 Apr 2023 23:13:28 +0000 (01:13 +0200)
commita1fbae752722a4f59127d74c362d3247f277be24
treefe7c9159d19c9b96a36fdd12467de5ed49c007c3
parentb43cb674577c81c6a320d69345bad9aaad1ffbf6
hurd: Use uintptr_t for register values in trampoline.c

This is more correct, if only because these fields are defined as having
the type unsigned int in the Mach headers, so casting them to a signed
int and then back is suboptimal.

Also, remove an extra reassignment of uesp -- this is another remnant of
the ecx kludge.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230319151017.531737-16-bugaevc@gmail.com>
sysdeps/mach/hurd/i386/trampoline.c