[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] [PATCH] Correct type for pcibios_installed variable



Please Alan commit this correction. Thank you.


Commit message:

version member in pci-bios structure is an unsigned long not a short
Index: sys/pcibios.c
===================================================================
RCS file: /mint/freemint/sys/pcibios.c,v
retrieving revision 1.1
diff -u -8 -r1.1 pcibios.c
--- sys/pcibios.c	22 Mar 2014 13:09:59 -0000	1.1
+++ sys/pcibios.c	22 Mar 2014 19:29:22 -0000
@@ -86,17 +86,17 @@
 
 # ifdef DEBUG_INFO
 # define PCIBIOS_DEBUG(x)	DEBUG (x)
 # else
 # define SCSIDRV_DEBUG(x)
 # endif
 
 
-ushort pcibios_installed = 0;
+ulong pcibios_installed = 0;
 
 PCIBIOS *pcibios = NULL;
 void *tab_funcs_pci;
 
 long
 pcibios_init (void)
 {
 	long r;
Index: sys/pcibios.h
===================================================================
RCS file: /mint/freemint/sys/pcibios.h,v
retrieving revision 1.1
diff -u -8 -r1.1 pcibios.h
--- sys/pcibios.h	22 Mar 2014 13:10:00 -0000	1.1
+++ sys/pcibios.h	22 Mar 2014 19:29:23 -0000
@@ -36,17 +36,17 @@
 /* forward definitions
  */
 
 typedef struct pcibios	PCIBIOS;
 
 /* exported data
  */
 
-extern ushort pcibios_installed;
+extern ulong pcibios_installed;
 
 
 /* exported functions
  */
 
 long	pcibios_init		(void);
 
 long	_cdecl sys_pcibios	(ushort op,