[PATCH] dmusic: Variable spelling fix.

Christian Costa titan.costa at gmail.com
Thu May 10 07:53:40 CDT 2012


2012/5/10 Andrew Eikum <aeikum at codeweavers.com>

> 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.
>
>
Ok. Something like bytes_read would be even better then. :)

Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20120510/61423be1/attachment.html>


More information about the wine-devel mailing list