Changeset 4d86e06 for util.c


Ignore:
Timestamp:
Jul 23, 2009, 12:53:57 AM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
ba6c8bd
Parents:
029a8b5
Message:
Get rid of a whole bunch of useless casts.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • util.c

    rd43edd2 r4d86e06  
    139139    if (first) {
    140140      first=0;
    141       foo=(char *)strtok(workbuff, sep);
     141      foo=strtok(workbuff, sep);
    142142    } else {
    143       foo=(char *)strtok(NULL, sep);
     143      foo=strtok(NULL, sep);
    144144    }
    145145    if (foo==NULL) {
    146146      done=1;
    147147    } else {
    148       args=(char **)owl_realloc(args, sizeof(char *) * (count+1));
     148      args=owl_realloc(args, sizeof(char *) * (count+1));
    149149      args[count]=owl_malloc(strlen(foo)+1);
    150150      strcpy(args[count], foo);
Note: See TracChangeset for help on using the changeset viewer.