solved 64 bit issue in push/pop stroke interface

This commit is contained in:
Andreas Steffen
2006-10-31 23:17:21 +00:00
parent 231f704548
commit 923ee10eef
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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))
{