Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 130645 | Differences between
and this patch

Collapse All | Expand All

(-)scangearmp/src/scanfile.c.old (-1 / +2 lines)
Lines 34-39 Link Here
34
//#include <sys/types.h>
34
//#include <sys/types.h>
35
//#include <unistd.h>
35
//#include <unistd.h>
36
#include <limits.h>
36
#include <limits.h>
37
#include <zlib.h>
37
38
38
#include "cnmsfunc.h"
39
#include "cnmsfunc.h"
39
#include "png.h"
40
#include "png.h"
Lines 386-392 Link Here
386
387
387
void write_data_for_png( png_structp png_ptr, png_bytep data, png_size_t length )
388
void write_data_for_png( png_structp png_ptr, png_bytep data, png_size_t length )
388
{
389
{
389
	FileControlWriteFile( *( (int *)png_ptr->io_ptr ), (CNMSLPSTR)data, length );
390
	FileControlWriteFile( *( (int *)png_get_io_ptr(png_ptr)), (CNMSLPSTR)data, length );
390
391
391
	return;
392
	return;
392
}
393
}

Return to bug 130645