diff -r a264ef19217e usr/src/uts/common/sys/fs/pc_node.h --- a/usr/src/uts/common/sys/fs/pc_node.h Thu May 03 15:56:05 2012 +0200 +++ b/usr/src/uts/common/sys/fs/pc_node.h Sun May 06 21:43:09 2012 +0200 @@ -81,8 +81,8 @@ * Make a unique integer for a file */ #define pc_makenodeid(BN, OFF, ATTR, SCLUSTER, ENTPS) \ - (ino_t)((ATTR) & PCA_DIR ? \ - (uint32_t)(-(SCLUSTER) - 1) : \ + (ino_t)(uint32_t)((ATTR) & PCA_DIR ? \ + (-(SCLUSTER) - 1) : \ ((BN) * (ENTPS)) + ((OFF) / sizeof (struct pcdir))) #define NPCHASH 1