Mercurial > hg > dmlib
comparison src/dmres.c @ 1103:fd1ccfc62ceb
Fix use of DM_FSEEK64().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Mar 2015 23:54:38 +0200 |
parents | e06abfde6c39 |
children | f8e9f6b2a41a |
comparison
equal
deleted
inserted
replaced
1102:e06abfde6c39 | 1103:fd1ccfc62ceb |
---|---|
447 handle->filename); | 447 handle->filename); |
448 goto out; | 448 goto out; |
449 } | 449 } |
450 | 450 |
451 // Seek to entry | 451 // Seek to entry |
452 if (DM_FSEEK64(handle->lib->packFile->file, node->offset, SEEK_SET) == -1) | 452 if (DM_FSEEK64(handle->lib->packFile->file, node->offset, SEEK_SET) != 0) |
453 { | 453 { |
454 ret = dmErrorDBG(DMERR_FSEEK, | 454 ret = dmErrorDBG(DMERR_FSEEK, |
455 "Could not seek node position in PACK file.\n"); | 455 "Could not seek node position in PACK file.\n"); |
456 goto out; | 456 goto out; |
457 } | 457 } |