[flac-dev] [PATCH] fix getopt.c

Erik de Castro Lopo mle+la at mega-nerd.com
Tue Jan 17 07:55:34 UTC 2017


lvqcl wrote:

> This patch fixes 2 problems in getopt.c:
> 
> 1) MSVC 2005 (and probably 2008) can't compile it because
> it doesn't have stdint.h
> 
> 2) nameend and nextchar are pointers and the difference
> between them should be casted to 'size_t' type, not
> 'unsigned int' or 'uint32_t'.

Applied. Thanks.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list