]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/page.c
Merge changes from CUPS 1.5svn-r9313.
[thirdparty/cups.git] / cups / page.c
index d240a407ef9c1d2ea2032fea49a8f65104b5ff26..e8214661653d67149154142df10fa3f21fd17945 100644 (file)
@@ -136,10 +136,10 @@ ppdPageSize(ppd_file_t *ppd,              /* I - PPD file record */
       if ((coption = ppdFindCustomOption(ppd, "PageSize")) != NULL)
       {
         if ((cparam = ppdFindCustomParam(coption, "Width")) != NULL)
-         cparam->current.custom_points = w;
+         cparam->current.custom_points = (float)w;
 
         if ((cparam = ppdFindCustomParam(coption, "Height")) != NULL)
-         cparam->current.custom_points = l;
+         cparam->current.custom_points = (float)l;
       }
 
      /*