solved 64 bit issue in push/pop stroke interface
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ struct stroke_token {
|
||||
|
||||
static char* push_string(stroke_msg_t *msg, char *string)
|
||||
{
|
||||
u_int string_start = msg->length;
|
||||
unsigned long string_start = msg->length;
|
||||
|
||||
if (string == NULL || msg->length + strlen(string) >= sizeof(stroke_msg_t))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user