diff options
author | James Christopher Adduono <jc@adduono.com> | 2016-03-01 22:01:53 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2016-03-02 20:04:11 +0100 |
commit | 6f57f7c60167b11e0e7769310aa8878d2980a3da (patch) | |
tree | 8c19ef8ad663ef7155b5b382085130d51c926a94 /libtar/dirname.c | |
parent | Unix file endings and remove execute permission (diff) | |
download | android_bootable_recovery-6f57f7c60167b11e0e7769310aa8878d2980a3da.tar android_bootable_recovery-6f57f7c60167b11e0e7769310aa8878d2980a3da.tar.gz android_bootable_recovery-6f57f7c60167b11e0e7769310aa8878d2980a3da.tar.bz2 android_bootable_recovery-6f57f7c60167b11e0e7769310aa8878d2980a3da.tar.lz android_bootable_recovery-6f57f7c60167b11e0e7769310aa8878d2980a3da.tar.xz android_bootable_recovery-6f57f7c60167b11e0e7769310aa8878d2980a3da.tar.zst android_bootable_recovery-6f57f7c60167b11e0e7769310aa8878d2980a3da.zip |
Diffstat (limited to '')
-rw-r--r-- | libtar/dirname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtar/dirname.c b/libtar/dirname.c index 986db4aa1..4e060677e 100644 --- a/libtar/dirname.c +++ b/libtar/dirname.c @@ -67,7 +67,7 @@ openbsd_dirname(path) } while (endp > path && *endp == '/'); } - if (endp - path + 1 > sizeof(bname)) { + if (endp - path + 1 > (int)sizeof(bname)) { errno = ENAMETOOLONG; return(NULL); } |