]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/dev.c
Apply Joao's patch to SQLite tables to make chars work.
[bacula/bacula] / bacula / src / stored / dev.c
index a9a54c514bba6dadf8ff6455721dbdeee583a33f..fce3719f6aeede6a9bedab4d6b969ca3a865d332 100644 (file)
@@ -1972,7 +1972,7 @@ boffset_t DEVICE::lseek(DCR *dcr, boffset_t offset, int whence)
 #if defined(HAVE_WIN32)
       return ::_lseeki64(m_fd, (__int64)offset, whence);
 #else
-      return ::lseek(m_fd, (off_t)offset, whence);
+      return ::lseek(m_fd, offset, whence);
 #endif
    }
    return -1;