Commit 951e960d authored by Ghislain MARY's avatar Ghislain MARY

Fix build on Windows.

parent ffdea19c
......@@ -106,7 +106,7 @@ struct bctbx_io_methods_t {
typedef struct bctbx_vfs_t bctbx_vfs_t;
struct bctbx_vfs_t {
const char *vfsName; /* Virtual file system name */
int (*pFuncOpen)(bctbx_vfs_t *pVfs, bctbx_vfs_file_t *pFile, const char *fName, const int openFlags);
int (*pFuncOpen)(bctbx_vfs_t *pVfs, bctbx_vfs_file_t *pFile, const char *fName, int openFlags);
};
......
......@@ -36,7 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* @param openFlags Flags to use when opening the file.
* @return BCTBX_VFS_ERROR if an error occurs, BCTBX_VFS_OK otherwise.
*/
static int bcOpen(bctbx_vfs_t *pVfs, bctbx_vfs_file_t *pFile, const char *fName, const int openFlags);
static int bcOpen(bctbx_vfs_t *pVfs, bctbx_vfs_file_t *pFile, const char *fName, int openFlags);
static bctbx_vfs_t bcVfs = {
......@@ -238,7 +238,7 @@ static const bctbx_io_methods_t bcio = {
static int bcOpen(bctbx_vfs_t *pVfs, bctbx_vfs_file_t *pFile, const char *fName, const int openFlags) {
static int bcOpen(bctbx_vfs_t *pVfs, bctbx_vfs_file_t *pFile, const char *fName, int openFlags) {
if (pFile == NULL || fName == NULL) {
return BCTBX_VFS_ERROR;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment