WL#3915 : (NDB) master's cols > slave

Minor change to fix compile problems on 64-bit.
This commit is contained in:
cbell/Chuck@mysql_cab_desk. 2007-07-27 16:58:23 -04:00
parent b373c3e987
commit b87fc5c5d4

View file

@ -1343,7 +1343,7 @@ public:
@retval The length in the row plus the size of the data.
*/
uint32 get_packed_size(const uchar *ptr)
{return packlength + get_length((uint)ptr);}
{return packlength + get_length((const char *)ptr);}
inline uint32 get_length(uint row_offset=0)
{ return get_length(ptr+row_offset); }