|
@@ -1404,7 +1404,8 @@ SDL_PropertiesID SDL_GetIOProperties(SDL_IOStream *context)
|
|
|
Sint64 SDL_GetIOSize(SDL_IOStream *context)
|
|
Sint64 SDL_GetIOSize(SDL_IOStream *context)
|
|
|
{
|
|
{
|
|
|
CHECK_PARAM(!context) {
|
|
CHECK_PARAM(!context) {
|
|
|
- return SDL_InvalidParamError("context");
|
|
|
|
|
|
|
+ SDL_InvalidParamError("context");
|
|
|
|
|
+ return -1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (!context->iface.size) {
|
|
if (!context->iface.size) {
|