Commit 7019e7e4 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarArmin Schindler <armin@melware.de>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6e21bd9a
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include "diva_pci.h" #include "diva_pci.h"
#include "mi_pc.h" #include "mi_pc.h"
#include "dsrv4bri.h" #include "dsrv4bri.h"
#include "helpers.h"
static void *diva_xdiLoadFileFile = NULL; static void *diva_xdiLoadFileFile = NULL;
static dword diva_xdiLoadFileLength = 0; static dword diva_xdiLoadFileLength = 0;
...@@ -815,7 +816,7 @@ diva_4bri_cmd_card_proc(struct _diva_os_xdi_adapter *a, ...@@ -815,7 +816,7 @@ diva_4bri_cmd_card_proc(struct _diva_os_xdi_adapter *a,
return (ret); return (ret);
} }
void *xdiLoadFile(char *FileName, unsigned long *FileLength, void *xdiLoadFile(char *FileName, dword *FileLength,
unsigned long lim) unsigned long lim)
{ {
void *ret = diva_xdiLoadFileFile; void *ret = diva_xdiLoadFileFile;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment