1
0
Fork 0

silence some warnings, add most of sf patch #1185267 by Moe

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2883
This commit is contained in:
Sebastian Strohhäcker 2007-06-12 20:22:09 +00:00
parent 8c6d24bb61
commit 0c24e87fdc
49 changed files with 265 additions and 255 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: xms.cpp,v 1.46 2007-01-08 21:40:15 qbix79 Exp $ */
/* $Id: xms.cpp,v 1.47 2007-06-12 20:22:09 c2woody Exp $ */
#include <stdlib.h>
#include <string.h>
@ -229,7 +229,7 @@ Bitu XMS_GetHandleInformation(Bitu handle, Bit8u& lockCount, Bit8u& numFree, Bit
for (Bitu i=1;i<XMS_HANDLES;i++) {
if (xms_handles[i].free) numFree++;
}
size=xms_handles[handle].size;
size=(Bit16u)(xms_handles[handle].size);
return 0;
};
@ -259,7 +259,7 @@ static bool multiplex_xms(void) {
};
#define SET_RESULT(caller) { \
res = caller; \
if(res) reg_bl = res; \
if(res) reg_bl = (Bit8u)res; \
reg_ax = (res==0); \
}