rpms/i810switch/F-7 i810switch-0.6.5-sizet.patch,NONE,1.1

Matt Domsch (mdomsch) fedora-extras-commits at redhat.com
Sat Jan 5 19:17:32 UTC 2008


Author: mdomsch

Update of /cvs/extras/rpms/i810switch/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7731

Added Files:
	i810switch-0.6.5-sizet.patch 
Log Message:
add sizet patch to CVS

i810switch-0.6.5-sizet.patch:

--- NEW FILE i810switch-0.6.5-sizet.patch ---
--- i810switch.c.~1~	2005-06-11 21:36:36.000000000 -0700
+++ i810switch.c	2007-11-02 09:22:30.000000000 -0700
@@ -243,7 +243,7 @@
 		i810_readl(par->mmio, I830_DSPBSTRIDE));
 }
 
-char *i810_chip(char **buff_ptr, int *len_ptr, FILE *pci_f, int* chiptype)
+char *i810_chip(char **buff_ptr, size_t *len_ptr, FILE *pci_f, int* chiptype)
 {
 	int i;
 	char *p;
@@ -289,7 +289,7 @@
 	return NULL;
 }
 
-unsigned long i810_addr(char **buff_ptr, int *len_ptr, FILE *pci_f)
+unsigned long i810_addr(char **buff_ptr, size_t *len_ptr, FILE *pci_f)
 {
 	char *p;
 
@@ -316,7 +316,8 @@
 {
 	struct i810_par par;
 	unsigned long addr;
-	int i, crt = -1, lcd = -1, probe = 0, err = 0, count = 0, chiptype, len = 0;
+	int i, crt = -1, lcd = -1, probe = 0, err = 0, count = 0, chiptype;
+	size_t len = 0;
 	FILE *pci_f;
 	char *buff = NULL;
 	char lspcistr[] = CMD_LSPCI " -v -d xxxx:xxxx";




More information about the fedora-extras-commits mailing list