]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
More changes.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 9 Dec 2014 21:27:43 +0000 (21:27 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 9 Dec 2014 21:27:43 +0000 (21:27 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12339 a1ca3aef-8c08-0410-bb20-df032aa958be

filter/raster.c

index 0e7fb0c439920c0e0714c9bab698e4b9a8ee5a23..a7a4a7a48f99e5c1bb8664434a4832eadcf5c2e9 100644 (file)
@@ -603,8 +603,9 @@ cupsRasterWriteHeader(
     fh.cupsInteger[15]       = htonl(r->header.cupsInteger[15]);
                                        /* VendorLength */
 
-    void *p = fh.cupsReal; /* Bypass bogus compiler warning */
-    memcpy(p, r->header.cupsReal, sizeof(fh.cupsReal) + sizeof(fh.cupsString));
+    void *dst = fh.cupsReal; /* Bypass bogus compiler warning */
+    void *src = r->header.cupsReal;
+    memcpy(dst, src, sizeof(fh.cupsReal) + sizeof(fh.cupsString));
                                        /* VendorData */
 
     strlcpy(fh.cupsRenderingIntent, r->header.cupsRenderingIntent,