Bug #28287 Sign problem in test "ndb_restore_print"

- some platforms do strange things with char... use Int8 to be sure of signedness
parent 482e56f1
......@@ -164,7 +164,7 @@ public:
*
* @return Char value.
*/
char char_value() const;
Int8 char_value() const;
/**
* Get value stored in NdbRecAttr object.
......@@ -340,10 +340,10 @@ NdbRecAttr::short_value() const
}
inline
char
Int8
NdbRecAttr::char_value() const
{
return *(char*)theRef;
return *(Int8*)theRef;
}
inline
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment