Browse Source

kill signed warning

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1009 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 10 years ago
parent
commit
8f592598ab
  1. 8
      processor/head.m4

8
processor/head.m4

@ -448,10 +448,10 @@ $1 *xc_processor_store_$1(xc_cache_t *cache, $1 *src TSRMLS_DC) {
xc_store_$1(&processor, dst, src TSRMLS_CC);
IFAUTOCHECK(` {
int real = processor.p - oldp;
int should = processor.size;
if (real != processor.size) {
fprintf(stderr, "real %d - should %d = %d\n", real, should, real - should);
size_t unexpected = processor.p - oldp;
size_t expected = processor.size;
if (unexpected != processor.size) {
fprintf(stderr, "unexpected:%lu - expected:%lu = %ld != 0\n", (unsigned long) unexpected, (unsigned long) expected, (long) unexpected - expected);
abort();
}
}')

Loading…
Cancel
Save