opengl32: make_opengl: Do not add explicit casts of function pointers to void pointers.
Michael Stefaniuc
mstefani at redhat.de
Mon Dec 29 18:07:27 CST 2008
---
Alexandre,
not sure if you want the file generated by make_opengl fixed too or if
you prefer to wait for the next run of make_opengl. The file doesn't
changes that often so it might take a while. If you want to commit those
changes you can generate them with:
perl -pi -e 's/, \(void \*\) /, /' dlls/opengl32/opengl_ext.c
I didn't wanted to send that in a patch as the patch is quite large:
dlls/opengl32/opengl_ext.c | 2970 ++++++++++++++++++++++----------------------
1 files changed, 1485 insertions(+), 1485 deletions(-)
bye
michael
dlls/opengl32/make_opengl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl
index b4ae680..c418356 100755
--- a/dlls/opengl32/make_opengl
+++ b/dlls/opengl32/make_opengl
@@ -710,7 +710,7 @@ foreach (sort keys %ext_functions) {
my $func_ref = $ext_functions{$_};
if ($func_ref->[0] eq $func_ref->[3])
{
- print EXT " { \"$func_ref->[0]\", \"$func_ref->[4]\", (void *) wine_$func_ref->[0] }";
+ print EXT " { \"$func_ref->[0]\", \"$func_ref->[4]\", wine_$func_ref->[0] }";
}
if ($i != $count-1) {
print EXT ",";
--
1.6.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081230/66d02164/attachment-0001.pgp
More information about the wine-patches
mailing list