summaryrefslogtreecommitdiffstats
path: root/python_modules/codegen.py
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2012-02-13 13:53:32 -0600
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:55 +0100
commitdf2dcb496e24bdc173bb9572c3cde5a2d606bd10 (patch)
tree8f405acab73954a96695d39de4a46feb5c372711 /python_modules/codegen.py
parente571bd02c93bfe7db683dab5d656332ef56d1222 (diff)
downloadspice-common-df2dcb496e24bdc173bb9572c3cde5a2d606bd10.tar.gz
spice-common-df2dcb496e24bdc173bb9572c3cde5a2d606bd10.tar.xz
spice-common-df2dcb496e24bdc173bb9572c3cde5a2d606bd10.zip
Add casts for compatibility purposes
Some non-Linux platforms return a (caddr_t *) result for the return value of mmap(), which is very unfortunate. Add a (void *) cast to explicitly avoid the warning when compiling with -Werror. For the IO vector related stuff, signed vs. unsigned comes into play so adding a (void *) cast here is technically correct for all platforms. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Diffstat (limited to 'python_modules/codegen.py')
0 files changed, 0 insertions, 0 deletions