summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 18:51:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit5f809ab7661b5fa5569abb2c7fd3ed23e24070b3 (patch)
tree65d5b8a9166597d49ada096e6d05bdc9ef047622 /src/utils
parent4f66a22a69e7b41db9b9094f08e686faea6abf93 (diff)
downloadplus-5f809ab7661b5fa5569abb2c7fd3ed23e24070b3.tar.gz
plus-5f809ab7661b5fa5569abb2c7fd3ed23e24070b3.tar.bz2
plus-5f809ab7661b5fa5569abb2c7fd3ed23e24070b3.tar.xz
plus-5f809ab7661b5fa5569abb2c7fd3ed23e24070b3.zip
improve pointer usage physfsrwops.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/physfsrwops.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utils/physfsrwops.cpp b/src/utils/physfsrwops.cpp
index d6a1e891a..fc0020433 100644
--- a/src/utils/physfsrwops.cpp
+++ b/src/utils/physfsrwops.cpp
@@ -189,12 +189,12 @@ static SDL_RWops *create_rwops(PHYSFS_file *const handle)
if (retval)
{
#ifdef USE_SDL2
- retval->size = physfsrwops_size;
+ retval->size = &physfsrwops_size;
#endif
- retval->seek = physfsrwops_seek;
- retval->read = physfsrwops_read;
- retval->write = physfsrwops_write;
- retval->close = physfsrwops_close;
+ retval->seek = &physfsrwops_seek;
+ retval->read = &physfsrwops_read;
+ retval->write = &physfsrwops_write;
+ retval->close = &physfsrwops_close;
retval->hidden.unknown.data1 = handle;
} /* if */
#ifdef DUMP_LEAKED_RESOURCES