From 1adbcb0ce38e18e5bab8a699236e5128f506e603 Mon Sep 17 00:00:00 2001 From: Pierre Veyre Date: Fri, 29 Nov 2013 14:44:00 +0100 Subject: [PATCH] Fix WorkstationCLM03::fileSeek return type --- src/surf/workstation.cpp | 2 +- src/surf/workstation.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/surf/workstation.cpp b/src/surf/workstation.cpp index 732883a177..7274418b2d 100644 --- a/src/surf/workstation.cpp +++ b/src/surf/workstation.cpp @@ -380,7 +380,7 @@ sg_size_t WorkstationCLM03::fileTell(surf_file_t fd){ return fd->current_position; } -sg_size_t WorkstationCLM03::fileSeek(surf_file_t fd, sg_size_t offset, int origin){ +int WorkstationCLM03::fileSeek(surf_file_t fd, sg_size_t offset, int origin){ switch (origin) { case SEEK_SET: diff --git a/src/surf/workstation.hpp b/src/surf/workstation.hpp index 34768afea3..568f60c736 100644 --- a/src/surf/workstation.hpp +++ b/src/surf/workstation.hpp @@ -93,7 +93,7 @@ public: sg_size_t fileTell(surf_file_t fd); sg_size_t getFreeSize(const char* name); sg_size_t getUsedSize(const char* name); - sg_size_t fileSeek(surf_file_t fd, sg_size_t offset, int origin); + int fileSeek(surf_file_t fd, sg_size_t offset, int origin); bool isUsed(); //bool isShared(); -- 2.20.1