[PATCH] dmusic: Variable spelling fix.

Andrew Eikum aeikum at codeweavers.com
Thu May 10 07:39:26 CDT 2012


On Thu, May 10, 2012 at 07:52:58AM +0200, Christian Costa wrote:
>  static HRESULT read_from_stream(IStream *stream, void *data, ULONG size)
>  {
> -    ULONG readed;
> +    ULONG read;
>      HRESULT hr;
>  
> -    hr = IStream_Read(stream, data, size, &readed);
> +    hr = IStream_Read(stream, data, size, &read);
>      if(FAILED(hr)){

I called it that to prevent shadowing read(3). It probably doesn't
matter since we almost never use that call in Wine, but that was the
rationale.

Andrew



More information about the wine-devel mailing list