Changeset 1009


Ignore:
Timestamp:
2012-07-19T17:31:49+02:00 (3 years ago)
Author:
moo
Message:

kill signed warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r998 r1009  
    449449        xc_store_$1(&processor, dst, src TSRMLS_CC);
    450450        IFAUTOCHECK(` {
    451             int real = processor.p - oldp;
    452             int should = processor.size;
    453             if (real != processor.size) {
    454                 fprintf(stderr, "real %d - should %d = %d\n", real, should, real - should);
     451            size_t unexpected = processor.p - oldp;
     452            size_t expected = processor.size;
     453            if (unexpected != processor.size) {
     454                fprintf(stderr, "unexpected:%lu - expected:%lu = %ld != 0\n", (unsigned long) unexpected, (unsigned long) expected, (long) unexpected - expected);
    455455                abort();
    456456            }
Note: See TracChangeset for help on using the changeset viewer.