Tags 663943 +patch thanks Patch is attatched just add it to the dpatch list.
I have tested that the package builds with this patch, I have not done any further testing.
#! /bin/sh /usr/share/dpatch/dpatch-run ## 10_fix_typecast.dpatch by <plugw...@p10link.net> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Make the parameter list in the typecase actually match the one in the ## DP: variable it's assigned to. @DPATCH@ diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' visualboyadvance-1.8.0.dfsg~/src/Util.cpp visualboyadvance-1.8.0.dfsg/src/Util.cpp --- visualboyadvance-1.8.0.dfsg~/src/Util.cpp 2006-05-27 14:47:32.000000000 +0000 +++ visualboyadvance-1.8.0.dfsg/src/Util.cpp 2012-04-14 10:38:15.000000000 +0000 @@ -992,7 +992,7 @@ gzFile utilGzOpen(const char *file, const char *mode) { - utilGzWriteFunc = (int (ZEXPORT *)(void *,void * const, unsigned int))gzwrite; + utilGzWriteFunc = (int (ZEXPORT *)(gzFile,const voidp, unsigned int))gzwrite; utilGzReadFunc = gzread; utilGzCloseFunc = gzclose;