This commit is contained in:
rumbledethumps
2025-10-21 20:58:50 -07:00
parent 899ee2dac2
commit 47c7160476
2 changed files with 3 additions and 3 deletions

View File

@@ -2,10 +2,10 @@
#include <errno.h>
#include <string.h>
int __fastcall__ f_getcwd (char* name, unsigned len)
int __fastcall__ f_getcwd (char* name, int size)
{
int i, ax;
ria_set_ax (len);
ria_set_ax (size);
ax = ria_call_int (RIA_OP_GETCWD);
for (i = 0; i < ax; i++) {
name[i] = ria_pop_char ();