mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
(ostream_open_memory): Cast (const char*) to (char*) when passing to
MemoryStream -init... method. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1826 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
db42b1307a
commit
6b01fdd6d0
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ ostream_open_memory (const char *addr, int size, int mode)
|
|||
if (addr)
|
||||
{
|
||||
stream->stream_obj = [[MemoryStream alloc]
|
||||
_initOnMallocBuffer: addr
|
||||
_initOnMallocBuffer: (char*)addr
|
||||
freeWhenDone: NO
|
||||
size: size
|
||||
eofPosition: size
|
||||
|
|
Loading…
Reference in a new issue