projects
/
tfcrypt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
-u: like -m, but decrypt to verify MAC, see if it's valid then decrypt to dst.
[tfcrypt.git]
/
tfc_misc.c
diff --git
a/tfc_misc.c
b/tfc_misc.c
index 06c1a653e7d6a3ac23047288f6e7224e15b83789..57e6b2f67861e7cbd63d0f9c8383c22bebeba161 100644
(file)
--- a/
tfc_misc.c
+++ b/
tfc_misc.c
@@
-135,7
+135,7
@@
tfc_fsize tfc_fdgetpos(int fd)
off_t t;
t = lseek(fd, 0L, SEEK_CUR);
- if (t == -1) return NOFSIZE;
+ if (t ==
(off_t)
-1) return NOFSIZE;
return (tfc_fsize)t;
}