From bf661570a54b81387f7a7a649fc95d48f6325088 Mon Sep 17 00:00:00 2001 From: szaka Date: Wed, 18 Mar 2009 00:56:28 +0000 Subject: [PATCH] ntfs_attr_pread: fix wrong variable type (Jean-Pierre Andre) --- libntfs-3g/attrib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libntfs-3g/attrib.c b/libntfs-3g/attrib.c index ecfb3b8a..5e2d5420 100644 --- a/libntfs-3g/attrib.c +++ b/libntfs-3g/attrib.c @@ -958,7 +958,7 @@ rl_err_out: */ s64 ntfs_attr_pread(ntfs_attr *na, const s64 pos, s64 count, void *b) { - int ret; + s64 ret; if (!na || !na->ni || !na->ni->vol || !b || pos < 0 || count < 0) { errno = EINVAL;