[PATCH] drivers/sound/ad1848.c fixes "cast to pointer from integer of different size"-warning

Matthias Welwarsky (matze@stud.fbi.fh-darmstadt.de)
Sun, 15 Nov 1998 22:02:27 +0100


Hi Alan and list,

this fixes a compiler warning (and a possible bug) in ad1848.c by
changing two variables from int to long, when compiled on architectures
where sizeof(void *) != sizeof(int). The patch is relative 2.1.129-pre1.
Don't know if this is really a problem in this context but I learned to
be picky about this special warning since I own that Alpha ;-)

Gruss,
Matthias

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/