From cd0ff027d8eee49df6bafb00f29f3332268a8162 Mon Sep 17 00:00:00 2001 From: robocop Date: Fri, 30 Jun 2006 07:41:39 +0000 Subject: [PATCH] Consistence. --- src/common/classes/TempFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/classes/TempFile.cpp b/src/common/classes/TempFile.cpp index 66ee7dce0f..f287467c2e 100644 --- a/src/common/classes/TempFile.cpp +++ b/src/common/classes/TempFile.cpp @@ -245,8 +245,8 @@ void TempFile::seek(offset_t offset) Firebird::system_call_failed::raise("SetFilePointer"); } #else - const off_t seek = ::lseek(handle, (off_t) offset, SEEK_SET); - if (seek == (off_t) -1) + const off_t seek_result = ::lseek(handle, (off_t) offset, SEEK_SET); + if (seek_result == (off_t) -1) { Firebird::system_call_failed::raise("lseek"); }