mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 12:28:34 +00:00
- Fix the "use of cast expressions as lvalues is deprecated" warning.
svn path=/trunk/; revision=9552
This commit is contained in:
parent
9136088529
commit
ceb8aca194
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Source: /cygdrive/c/RCVS/CVS/ReactOS/reactos/lib/kjs/ksrc/iostream.c,v $
|
* $Source: /cygdrive/c/RCVS/CVS/ReactOS/reactos/lib/kjs/ksrc/iostream.c,v $
|
||||||
* $Id: iostream.c,v 1.1 2004/01/10 20:38:17 arty Exp $
|
* $Id: iostream.c,v 1.2 2004/05/29 21:21:06 navaraf Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "jsint.h"
|
#include "jsint.h"
|
||||||
|
@ -88,7 +88,7 @@ js_iostream_read (JSIOStream *stream, void *ptr, size_t size)
|
||||||
|
|
||||||
stream->bufpos += got;
|
stream->bufpos += got;
|
||||||
size -= got;
|
size -= got;
|
||||||
(unsigned char *) ptr += got;
|
ptr = (void *)((unsigned char *)ptr + got);
|
||||||
total += got;
|
total += got;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue