summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-19 08:58:12 +0100
committerChris Wright <chrisw@osdl.org>2005-11-24 14:10:12 -0800
commitfb69773ded08e5b679db97a84aa7ce371c5f6208 (patch)
tree6a22a458eb076fdd62718e953a1821f10e598a7a
parent067d66baa9df5b9e6bf7e442fc4ee7140ef3cc74 (diff)
downloadlinux-stable-fb69773ded08e5b679db97a84aa7ce371c5f6208.tar.gz
linux-stable-fb69773ded08e5b679db97a84aa7ce371c5f6208.tar.bz2
linux-stable-fb69773ded08e5b679db97a84aa7ce371c5f6208.zip
[PATCH] drivers/isdn/hardware/eicon/os_4bri.c: correct the xdiLoadFile() signature
It's not good if caller and callee disagree regarding the type of the arguments. In this case, this could cause problems on 64bit architectures. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Armin Schindler <armin@melware.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Chris Wright <chrisw@osdl.org>
-rw-r--r--drivers/isdn/hardware/eicon/os_4bri.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/eicon/os_4bri.c b/drivers/isdn/hardware/eicon/os_4bri.c
index cccfabc1117d..11e6f937c1e4 100644
--- a/drivers/isdn/hardware/eicon/os_4bri.c
+++ b/drivers/isdn/hardware/eicon/os_4bri.c
@@ -16,6 +16,7 @@
#include "diva_pci.h"
#include "mi_pc.h"
#include "dsrv4bri.h"
+#include "helpers.h"
static void *diva_xdiLoadFileFile = NULL;
static dword diva_xdiLoadFileLength = 0;
@@ -815,7 +816,7 @@ diva_4bri_cmd_card_proc(struct _diva_os_xdi_adapter *a,
return (ret);
}
-void *xdiLoadFile(char *FileName, unsigned long *FileLength,
+void *xdiLoadFile(char *FileName, dword *FileLength,
unsigned long lim)
{
void *ret = diva_xdiLoadFileFile;