blob: bd8ee069e4439465eb7c9c1990b30ed0c72a2432 [file] [log] [blame]
from http://www.oyranos.org/scm?p=oyranos.git;a=commitdiff;h=0ed3aef1320ccc168c2753ac4cf426290fac6639
--- a/API_generated/oyArray2d_s_.c
+++ b/API_generated/oyArray2d_s_.c
@@ -13,7 +13,7 @@
* @author Kai-Uwe Behrmann <ku.b@gmx.de>
* @par License:
* new BSD - see: http://www.opensource.org/licenses/bsd-license.php
- * @date 2012/10/24
+ * @date 2012/11/02
*/
@@ -404,9 +404,9 @@
*
* @param[in,out] obj struct object
*
- * @version Oyranos: 0.1.11
+ * @version Oyranos: 0.9.1
+ * @date 2012/11/02
* @since 2010/09/07 (Oyranos: 0.1.11)
- * @date 2010/09/07
*/
int oyArray2d_ReleaseArray_ ( oyArray2d_s * obj )
{
@@ -428,10 +428,10 @@
{
if((s->own_lines == 1 && y == s->data_area.y) ||
s->own_lines == 2)
- deallocateFunc( &s->array2d[y][dsize * (int)s->data_area.x] );
+ deallocateFunc( &s->array2d[y][dsize * (int)OY_ROUND(s->data_area.x)] );
s->array2d[y] = 0;
}
- deallocateFunc( s->array2d + (size_t)s->data_area.y );
+ deallocateFunc( s->array2d + (int)OY_ROUND(s->data_area.y) );
s->array2d = 0;
}