From d296abe2034f9c8e7b8c96660ceb9496b65e2359 Mon Sep 17 00:00:00 2001 From: ksherlock Date: Fri, 4 Sep 2009 21:20:18 +0000 Subject: [PATCH] git-svn-id: https://profuse.googlecode.com/svn/trunk@57 aa027e90-d47c-11dd-86d7-074df07e0730 --- xattr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xattr.cpp b/xattr.cpp index 2d716fa..9198044 100644 --- a/xattr.cpp +++ b/xattr.cpp @@ -45,7 +45,7 @@ const char *HexMap = "0123456789abcdef"; std::memset(buffer1, ' ', sizeof(buffer1)); std::memset(buffer2, ' ', sizeof(buffer2)); - unsigned linelen = std::min((unsigned)size, (unsigned)16); + unsigned linelen = (unsigned)std::min(size, (ssize_t)16); for (i = 0, j = 0; i < linelen; i++)