Changeset 4d86e06 for perlconfig.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
  • perlconfig.c

    rd43edd2 r4d86e06  
    307307  PERL_SYS_INIT3(Pargc, Pargv, Penv);
    308308  p=perl_alloc();
    309   owl_global_set_perlinterp(&g, (void*)p);
     309  owl_global_set_perlinterp(&g, p);
    310310  perl_construct(p);
    311311
     
    497497void owl_perlconfig_dispatch_free(owl_dispatch *d)
    498498{
    499   SvREFCNT_dec((SV*)d->data);
     499  SvREFCNT_dec(d->data);
    500500  owl_free(d);
    501501}
     
    503503void owl_perlconfig_edit_callback(owl_editwin *e)
    504504{
    505   SV *cb = (SV*)owl_editwin_get_cbdata(e);
     505  SV *cb = owl_editwin_get_cbdata(e);
    506506  SV *text;
    507507  dSP;
Note: See TracChangeset for help on using the changeset viewer.