Explicitly cast to void** when allocating memory
commitef849724bdc158bcf4cadd0f30f9f8cc81415049
authorTobias Grosser <tobias@grosser.es>
Sun, 7 Aug 2011 22:55:25 +0000 (7 23:55 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 8 Aug 2011 07:31:20 +0000 (8 09:31 +0200)
treedcf5e90bc05e132e6e440280f9d74954c4b8857c
parent1fcf424ea6d22464d99e27ca87e9513c821a6052
Explicitly cast to void** when allocating memory

Without this patch, CUDA SDK 2.0 fails with the following error:
argument of type "float **" is incompatible with parameter of type
"void **"

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
cuda.c