66,7 → 66,7 |
char * |
get_string ( garmin_packet * p, int * offset ) |
{ |
char * start = p->packet.data + *offset; |
char * start = (char *)(p->packet.data + *offset); |
char * cursor = start; |
int allow = garmin_packet_size(p) - *offset; |
char * ret = NULL; |
117,7 → 117,7 |
put_vstring ( uint8 ** buf, const char * x ) |
{ |
if ( x != NULL ) { |
strcpy(*buf,x); |
strcpy((char *)*buf,x); |
*buf += strlen(x)+1; |
} |
} |
131,7 → 131,7 |
char ** |
get_strings ( garmin_packet * p, int * offset ) |
{ |
char * start = p->packet.data + *offset; |
char * start = (char *)(p->packet.data + *offset); |
char * cursor = start; |
int allow = garmin_packet_size(p) - *offset; |
char ** ret = NULL; |