Changeset 1406 in svn for trunk/processor/main.m4


Ignore:
Timestamp:
2013-09-26T12:24:00+02:00 (23 months ago)
Author:
Xuefer
Message:

fix pointer type mismatch warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/main.m4

    r1380 r1406  
    126126define(`FIXPOINTER', `FIXPOINTER_EX(`$1', `DST(`$2')')')
    127127define(`FIXPOINTER_EX', `IFSTORE(`
    128     $2 = ($1 *) processor->shm->handlers->to_readonly(processor->shm, (char *)$2);
     128    $2 = ($1 *) processor->shm->handlers->to_readonly(processor->shm, (void *)$2);
    129129')')
    130130define(`UNFIXPOINTER', `UNFIXPOINTER_EX(`$1', `DST(`$2')')')
    131131define(`UNFIXPOINTER_EX', `IFSTORE(`
    132     $2 = ($1 *) processor->shm->handlers->to_readwrite(processor->shm, (char *)$2);
     132    $2 = ($1 *) processor->shm->handlers->to_readwrite(processor->shm, (void *)$2);
    133133')')
    134134dnl }}}
Note: See TracChangeset for help on using the changeset viewer.