Changeset 4d86e06 for context.c


Ignore:
Timestamp:
Jul 23, 2009, 12:53:57 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:
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
  • context.c

    rd43edd2 r4d86e06  
    7070void owl_context_set_popless(owl_context *ctx, owl_viewwin *vw)
    7171{
    72   ctx->data = (void*)vw;
     72  ctx->data = vw;
    7373  SET_ACTIVE(ctx, OWL_CTX_POPLESS);
    7474}
     
    8181void owl_context_set_editmulti(owl_context *ctx, owl_editwin *ew)
    8282{
    83   ctx->data = (void*)ew;
     83  ctx->data = ew;
    8484  SET_ACTIVE(ctx, OWL_CTX_EDITMULTI);
    8585}
     
    8787void owl_context_set_editline(owl_context *ctx, owl_editwin *ew)
    8888{
    89   ctx->data = (void*)ew;
     89  ctx->data = ew;
    9090  SET_ACTIVE(ctx, OWL_CTX_EDITLINE);
    9191}
     
    9393void owl_context_set_editresponse(owl_context *ctx, owl_editwin *ew)
    9494{
    95   ctx->data = (void*)ew;
     95  ctx->data = ew;
    9696  SET_ACTIVE(ctx, OWL_CTX_EDITRESPONSE);
    9797}
Note: See TracChangeset for help on using the changeset viewer.