Changeset ba6c8bd


Ignore:
Timestamp:
Jul 23, 2009, 1:55:38 AM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
004d683
Parents:
4d86e06
Message:
Get rid of a few more useless casts.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • perlglue.xs

    rd43edd2 rba6c8bd  
    226226get_data_dir ()
    227227        CODE:
    228                 RETVAL = (char *) owl_get_datadir();
     228                RETVAL = owl_get_datadir();
    229229        OUTPUT:
    230230        RETVAL
     
    233233get_config_dir ()
    234234        CODE:
    235                 RETVAL = (char *) owl_global_get_confdir(&g);
     235                RETVAL = owl_global_get_confdir(&g);
    236236        OUTPUT:
    237237        RETVAL 
  • variable.c

    r4d86e06 rba6c8bd  
    682682  if (v == NULL || !v->set_fn) return(-1);
    683683  if (v->type!=OWL_VARIABLE_STRING) return(-1);
    684   return v->set_fn(v, (void*)newval);
     684  return v->set_fn(v, newval);
    685685}
    686686 
Note: See TracChangeset for help on using the changeset viewer.