Changeset 1570 in svn


Ignore:
Timestamp:
2014-11-11T20:13:29Z (4 years ago)
Author:
Xuefer
Message:

kill warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/foot.m4

    r1568 r1570  
    138138        size_t size = sizeof(processor.object_handles[0]) * src->objects_count;
    139139        processor.object_handles = emalloc(size);
    140         IFAUTOCHECK(`xc_memsetptr(processor.object_handles, -1, size);')
     140        IFAUTOCHECK(`xc_memsetptr(processor.object_handles, (void *) -1, size);')
    141141        /* other objects in $object->properties after $object, reverse order is necessary */
    142142        for (i = src->objects_count - 1; i >= 0; --i) {
Note: See TracChangeset for help on using the changeset viewer.