mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-17 05:15:29 +00:00
Fix build with gcc ~5.4. Thx thegamemaster1234 for pointing.
This commit is contained in:
parent
b5e6234269
commit
bc77c89ad3
9 changed files with 33 additions and 25 deletions
|
@ -182,8 +182,8 @@ struct vfscallback_s
|
|||
{
|
||||
const std::string *path;
|
||||
const char *ext;
|
||||
intptr_t param;
|
||||
void (*callback)(const std::string &filename, intptr_t param);
|
||||
void *param;
|
||||
void (*callback)(const std::string &filename, void *param);
|
||||
};
|
||||
|
||||
void forEachFile_vfscallback(VFILE *vf, void *user)
|
||||
|
@ -200,7 +200,7 @@ void forEachFile_vfscallback(VFILE *vf, void *user)
|
|||
|
||||
#endif
|
||||
|
||||
void forEachFile(const std::string& inpath, std::string type, void callback(const std::string &filename, intptr_t param), intptr_t param)
|
||||
void forEachFile(const std::string& inpath, std::string type, void callback(const std::string &filename, void *param), void *param)
|
||||
{
|
||||
if (inpath.empty()) return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue