[MPlayer-dev-eng] [PATCH] Fix several gcc compiler warnings in loader/dshow
Fabian Franz
FabianFranz at gmx.de
Tue Oct 29 23:03:50 CET 2002
Hi,
there were several warnings when mplayer compiled the files in this directory.
Mostly it were only issues with once using ULONG then using unsigned long and
pointer casting ...
I think I read, that this list voted in favour of unsinged long, so I used
that.
However in one case i changed the interface (interfaces.h) and not the file
allocator.c, because the var was called dwFlags.
So I opted for changing unsigned long to DWORD.
Fabian
PS: I see that those warnings are not relevant at all, but I think someone
send patches of this kind that were commited and as I again was compiling
mplayer, I used the time while it compiled to fix those warnings, which
occured first.
Warnings were:
warning: initialization discards qualifiers from pointer target type
warning: assignment from incompatible pointer type
PPS: I am using gcc 2.95.4.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_fix_warnings.patch
Type: text/x-diff
Size: 4058 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021029/4c0c5340/attachment.patch>
More information about the MPlayer-dev-eng
mailing list