diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-08 04:05:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:14:09 -0500 |
commit | 7019e7e41e34388cb87a5f0e3d05e92992418f34 (patch) | |
tree | d960191917c2ea071fd428a07efb86e0418a0706 /drivers/isdn | |
parent | 6e21bd9a30f1d7eab26ef8b9259376e5322d89e5 (diff) |
[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>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hardware/eicon/os_4bri.c | 3 |
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 @@ | |||
16 | #include "diva_pci.h" | 16 | #include "diva_pci.h" |
17 | #include "mi_pc.h" | 17 | #include "mi_pc.h" |
18 | #include "dsrv4bri.h" | 18 | #include "dsrv4bri.h" |
19 | #include "helpers.h" | ||
19 | 20 | ||
20 | static void *diva_xdiLoadFileFile = NULL; | 21 | static void *diva_xdiLoadFileFile = NULL; |
21 | static dword diva_xdiLoadFileLength = 0; | 22 | static dword diva_xdiLoadFileLength = 0; |
@@ -815,7 +816,7 @@ diva_4bri_cmd_card_proc(struct _diva_os_xdi_adapter *a, | |||
815 | return (ret); | 816 | return (ret); |
816 | } | 817 | } |
817 | 818 | ||
818 | void *xdiLoadFile(char *FileName, unsigned long *FileLength, | 819 | void *xdiLoadFile(char *FileName, dword *FileLength, |
819 | unsigned long lim) | 820 | unsigned long lim) |
820 | { | 821 | { |
821 | void *ret = diva_xdiLoadFileFile; | 822 | void *ret = diva_xdiLoadFileFile; |