Subversion Repositories public

Compare Revisions

Ignore whitespace Rev 135 → Rev 136

/sportwatcher/trunk/libgarmin/byte_util.c
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;