Author: bernhard Date: Sun Jan 25 11:06:01 2009 New Revision: 36002 Modified: trunk/src/pmc/fixedfloatarray.pmc trunk/src/pmc/resizablefloatarray.pmc
Log: [codingstd] trailing_space.t Modified: trunk/src/pmc/fixedfloatarray.pmc ============================================================================== --- trunk/src/pmc/fixedfloatarray.pmc (original) +++ trunk/src/pmc/fixedfloatarray.pmc Sun Jan 25 11:06:01 2009 @@ -1,5 +1,5 @@ /* -Copyright (C) 2001-2008, The Perl Foundation. +Copyright (C) 2001-2009, The Perl Foundation. $Id$ =head1 NAME @@ -294,7 +294,7 @@ "FixedFloatArray: Can't resize!"); SET_ATTR_size(INTERP, SELF, new_size); - SET_ATTR_float_array(INTERP, SELF, + SET_ATTR_float_array(INTERP, SELF, mem_allocate_n_typed(new_size, FLOATVAL)); PObj_active_destroy_SET(SELF); } Modified: trunk/src/pmc/resizablefloatarray.pmc ============================================================================== --- trunk/src/pmc/resizablefloatarray.pmc (original) +++ trunk/src/pmc/resizablefloatarray.pmc Sun Jan 25 11:06:01 2009 @@ -148,9 +148,9 @@ cur += needed + 4096; cur &= ~0xfff; } - SET_ATTR_float_array(INTERP, SELF, - (FLOATVAL*)mem_sys_realloc(float_array, - cur * sizeof (FLOATVAL))); + SET_ATTR_float_array(INTERP, SELF, + (FLOATVAL*)mem_sys_realloc(float_array, + cur * sizeof (FLOATVAL))); SET_ATTR_size(INTERP, SELF, size); SET_ATTR_resize_threshold(INTERP, SELF, cur); }