mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-24 16:07:37 +00:00
Fix a few sign-conversion and shorten-64-to-32 warnings while converting some values from int to unsigned
This commit is contained in:
@@ -91,10 +91,10 @@ typedef struct ifpage {
|
||||
LispPTR dlnilp1;
|
||||
LispPTR dlnilp2;
|
||||
LispPTR dlnilp3;
|
||||
int dllastvmempage;
|
||||
unsigned dllastvmempage;
|
||||
int nactivepages;
|
||||
int ndirtypages;
|
||||
int process_size; /* was lastnumchars */
|
||||
unsigned process_size; /* was lastnumchars */
|
||||
} IFPAGE;
|
||||
#else
|
||||
/* Normal definition, for big-endian machines */
|
||||
@@ -248,10 +248,10 @@ typedef struct ifpage {
|
||||
LispPTR dlnilp1;
|
||||
LispPTR dlnilp2;
|
||||
LispPTR dlnilp3;
|
||||
int dllastvmempage;
|
||||
unsigned dllastvmempage;
|
||||
int nactivepages;
|
||||
int ndirtypages;
|
||||
int process_size; /* was lastnumchars */
|
||||
unsigned process_size; /* was lastnumchars */
|
||||
} IFPAGE;
|
||||
#else
|
||||
/***********************************************************/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define INITSOUTDEFS_H 1
|
||||
#include "lispemul.h" /* for LispPTR */
|
||||
LispPTR *fixp_value(LispPTR *ptr);
|
||||
void init_ifpage(int sysout_size);
|
||||
void init_ifpage(unsigned sysout_size);
|
||||
void init_iopage(void);
|
||||
void build_lisp_map(void);
|
||||
void init_for_keyhandle(void);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#ifndef LDSOUTDEFS_H
|
||||
#define LDSOUTDEFS_H 1
|
||||
int sysout_loader(const char * sysout_file_name, int sys_size);
|
||||
unsigned sysout_loader(const char * sysout_file_name, unsigned sys_size);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user