fix on 32-bit

This commit is contained in:
IoIxD 2026-01-22 14:24:47 -07:00
commit 0068e8da25
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ struct msh_linux_block_t {
msh_linux_block *next; msh_linux_block *next;
unsigned char free; unsigned char free;
}; };
#define MSH_BLOCK_SIZE 21 #define MSH_BLOCK_SIZE sizeof(struct msh_linux_block_t)
static msh_linux_block *msh_linux_base = 0; static msh_linux_block *msh_linux_base = 0;

View file

@ -7,7 +7,7 @@
.globl syscall_6 .globl syscall_6
syscall_0: syscall_0:
push %ebx push %ebx
mov 0x4(%esp), %eax mov 0x8(%esp), %eax
int $0x80 int $0x80
pop %ebx pop %ebx
ret ret