aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/src/fcstat.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-01-08 12:40:56 +0100
committermarha <marha@users.sourceforge.net>2013-01-08 12:40:56 +0100
commit697b3d945721286105e8976817dc9d6be61140de (patch)
treeba50584a20159070cb7d4bee88a6304694594d2d /fontconfig/src/fcstat.c
parentc2ada0e240f7c721ed09c9570b5375833c47370c (diff)
downloadvcxsrv-697b3d945721286105e8976817dc9d6be61140de.tar.gz
vcxsrv-697b3d945721286105e8976817dc9d6be61140de.tar.bz2
vcxsrv-697b3d945721286105e8976817dc9d6be61140de.zip
Solved type cast errors in debug
Diffstat (limited to 'fontconfig/src/fcstat.c')
-rw-r--r--fontconfig/src/fcstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fontconfig/src/fcstat.c b/fontconfig/src/fcstat.c
index 390f45c37..9e84aa490 100644
--- a/fontconfig/src/fcstat.c
+++ b/fontconfig/src/fcstat.c
@@ -93,7 +93,7 @@ FcStat (const FcChar8 *file, struct stat *statb)
return -1;
rc = GetLongPathName (full_path_name, full_path_name, sizeof (full_path_name));
- statb->st_ino = FcStringHash ((const FcChar8 *) full_path_name);
+ statb->st_ino = FcStringHash ((const FcChar8 *) full_path_name)&0xffff;
statb->st_mode = _S_IREAD | _S_IWRITE;
statb->st_mode |= (statb->st_mode >> 3) | (statb->st_mode >> 6);