mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-01 11:11:56 +00:00
Fix warning in io_null.c
I overlooked and did not notice that master and siol have different signature for the same function.
This commit is contained in:
parent
af896c500c
commit
5326b2e9e1
@ -100,7 +100,7 @@ static RIODesc* __open(RIO* io, const char* pathname, int rw, int mode) {
|
||||
null = R_NEW0 (RIONull);
|
||||
null->size = r_num_math (NULL, pathname + 7) + 1; //???
|
||||
null->offset = 0LL;
|
||||
return r_io_desc_new (io, &r_io_plugin_null, pathname, rw, mode, null);
|
||||
return r_io_desc_new (&r_io_plugin_null, -2, pathname, rw, mode, null);
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user