from Yitzhak
Add absent prototypes to some core routines. Also add some port function() to function(void) in some win32 routines. Also updates the Borland C Makefile for win32.
This commit is contained in:
@@ -1168,11 +1168,11 @@ specialmaze *maze;
|
||||
for(j=0;j<pt->ysize;j++) {
|
||||
if(!maze->init_lev.init_present ||
|
||||
pt->xsize > 1 || pt->ysize > 1) {
|
||||
#ifndef _MSC_VER
|
||||
#if !defined(_MSC_VER) && !defined(__BORLANDC__)
|
||||
Write(fd, pt->map[j], pt->xsize * sizeof *pt->map[j]);
|
||||
#else
|
||||
/*
|
||||
* On MSVC compiler the Write macro above caused:
|
||||
* On MSVC and Borland C compilers the Write macro above caused:
|
||||
* warning '!=' : signed/unsigned mismatch
|
||||
*/
|
||||
unsigned reslt, sz = pt->xsize * sizeof *pt->map[j];
|
||||
|
||||
Reference in New Issue
Block a user