]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/dir.c
Merge changes from CUPS 1.5svn-r9313.
[thirdparty/cups.git] / cups / dir.c
index 67349595b437b3567ba4cb1fb808cc14022f2edd..94a2a9b5b9e80e0f78bb0b4485e720a326690255 100644 (file)
@@ -200,7 +200,7 @@ cupsDirRead(cups_dir_t *dp)         /* I - Directory pointer */
   dp->entry.fileinfo.st_atime = _cups_dir_time(entry.ftLastAccessTime);
   dp->entry.fileinfo.st_ctime = _cups_dir_time(entry.ftCreationTime);
   dp->entry.fileinfo.st_mtime = _cups_dir_time(entry.ftLastWriteTime);
-  dp->entry.fileinfo.st_size  = entry.nFileSizeLow + (entry.nFileSizeHigh << 32);
+  dp->entry.fileinfo.st_size  = entry.nFileSizeLow + ((unsigned long long)entry.nFileSizeHigh << 32);
 
  /*
   * Return the entry...