aboutsummaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorLuca Dariz <luca@orpolo.org>2022-06-28 12:10:51 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-27 21:16:15 +0200
commit499f154bf12fe15c6aa1740100e4545a71490be1 (patch)
treed7a3df1d591249689eae742add539248cae9a6d5 /i386
parenta3db37b8837c091f6018257f2de5bb740350f3f5 (diff)
downloadgnumach-499f154bf12fe15c6aa1740100e4545a71490be1.tar.gz
gnumach-499f154bf12fe15c6aa1740100e4545a71490be1.tar.bz2
gnumach-499f154bf12fe15c6aa1740100e4545a71490be1.zip
fix warnings for 32 bit builds
Signed-off-by: Luca Dariz <luca@orpolo.org> Message-Id: <20220628101054.446126-13-luca@orpolo.org>
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/debug_i386.c1
-rw-r--r--i386/i386at/com.c2
-rw-r--r--i386/i386at/mem.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/i386/i386/debug_i386.c b/i386/i386/debug_i386.c
index 233caa72..4b8804cd 100644
--- a/i386/i386/debug_i386.c
+++ b/i386/i386/debug_i386.c
@@ -26,6 +26,7 @@
#include "thread.h"
#include "trap.h"
#include "debug.h"
+#include "spl.h"
void dump_ss(const struct i386_saved_state *st)
{
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index 1f305b23..d5842d8f 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -191,7 +191,7 @@ comcnprobe(struct consdev *cp)
if (strncmp(kernel_cmdline, CONSOLE_PARAMETER + 1,
strlen(CONSOLE_PARAMETER) - 1) == 0)
- mach_atoi(kernel_cmdline + strlen(CONSOLE_PARAMETER) - 1,
+ mach_atoi((u_char*)kernel_cmdline + strlen(CONSOLE_PARAMETER) - 1,
&rcline);
maj = 0;
diff --git a/i386/i386at/mem.c b/i386/i386at/mem.c
index 07acc169..ac0fd301 100644
--- a/i386/i386at/mem.c
+++ b/i386/i386at/mem.c
@@ -26,6 +26,7 @@
#include <device/io_req.h>
#include <i386/model_dep.h>
+#include <i386at/biosmem.h>
/* This provides access to any memory that is not main RAM */