Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2012 18:52:43 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 219782 for review
Message-ID:  <201211141852.qAEIqhCo013613@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@219782?ac=10

Change 219782 by brooks@brooks_zenith on 2012/11/14 18:51:43

	Correct the location of offset and length arguments.

Affected files ...

.. //depot/projects/ctsrd/cheribsd/src/ctsrd/libexec/readpng-cheri/readpng-cheri.c#2 edit

Differences ...

==== //depot/projects/ctsrd/cheribsd/src/ctsrd/libexec/readpng-cheri/readpng-cheri.c#2 (text+ko) ====

@@ -51,7 +51,7 @@
 cheri_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
 {
       
-	memcpy_fromcap(data, 2, length, offset);
+	memcpy_fromcap(data, 2, offset, length);
 	offset += length;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211141852.qAEIqhCo013613>