Update of /cvsroot/ufraw/ufraw
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8489
Modified Files:
dcraw_indi.c
Log Message:
Fix compiler warning with GCC 4.4.x.
Index: dcraw_indi.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/dcraw_indi.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- dcraw_indi.c 14 Aug 2009 17:15:06 -0000 1.72
+++ dcraw_indi.c 2 Sep 2009 04:00:07 -0000 1.73
@@ -542,8 +542,8 @@
memcpy (image[(row-2)*width+2], brow[0]+2, (width-4)*sizeof *image);
}
if (row == height - 2) {
- memcpy (image[(row-2)*width+2], brow[0]+2, (width-4)*sizeof *image);
- memcpy (image[(row-1)*width+2], brow[1]+2, (width-4)*sizeof *image);
+ memcpy (image[(height-4)*width+2], &rowtmp[(height-4)%4]+2,
(width-4)*sizeof *image);
+ memcpy (image[(height-3)*width+2], &rowtmp[(height-3)%4]+2,
(width-4)*sizeof *image);
}
}
free(ipalloc);
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
ufraw-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs