diff options
author | Heikki Linnakangas | 2013-01-14 22:42:37 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2013-01-14 22:42:37 +0000 |
commit | 3f4b1749a8168893558f70021be4f40c650bbada (patch) | |
tree | 67a0b01d652b39d64e358fb4c232debfb0ab24d7 /src/tutorial | |
parent | 325c54b69cbddc03445ca6c3198d2998c5d5818f (diff) |
Return value of lseek() can be negative on failure.
Because the return value of lseek() was assigned to an unsigned size_t
variable, we'd fail to notice an error return code -1. Compiler gave a
warning about this.
Andres Freund
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions