diff options
author | Paul Gilbert | 2010-08-05 10:16:21 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 22:23:24 +0000 |
commit | 49ea23c532cb0d8ab6e27d290484a1e2daadb347 (patch) | |
tree | 97dff77ee4deeb81f600288d30abb3413300180f /engines/sword2/function.cpp | |
parent | 1e3b3af5c09ef5b9168436b2276bce612f74c0d2 (diff) | |
download | scummvm-rg350-49ea23c532cb0d8ab6e27d290484a1e2daadb347.tar.gz scummvm-rg350-49ea23c532cb0d8ab6e27d290484a1e2daadb347.tar.bz2 scummvm-rg350-49ea23c532cb0d8ab6e27d290484a1e2daadb347.zip |
SWORD25: Fix for void * conversion errors
It turns out that strict C++ doesn't allow function pointers to be converted to void pointers and vice versa. Since there are two callback function pointer types - one with a KEY_COMMANDS enum parameter, and the other with an unsigned char type, I changed all void * occurances to a function pointer type with an 'int' parameter, and changed all implementation methods to take in an int parameter.
svn-id: r53208
Diffstat (limited to 'engines/sword2/function.cpp')
0 files changed, 0 insertions, 0 deletions