diff --git a/lib/file.cpp b/lib/file.cpp index 495c08c..00c215b 100644 --- a/lib/file.cpp +++ b/lib/file.cpp @@ -106,6 +106,7 @@ void File::seek(File::pos_t p, SeekMode s) DWORD m; switch (s) { + default: case SeekStart: m = FILE_BEGIN; break;