Show
Ignore:
Timestamp:
05/25/10 17:17:30 (8 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1274807850 +0000
git-parent:

[9c84154649c4102c8cc9443c29c2d39276c71b3f]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1274807850 +0000
Message:

makes clang happier, refs #284

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_http.c

    r9f030e7 rc9dd5d8  
    7979struct bchain *bchain_alloc(size_t size, int line) { 
    8080  struct bchain *n; 
    81   n = malloc(size + ((char *)n->buff - (char *)n)); 
     81  n = malloc(size + (int)((char *)((struct bchain *)0)->buff)); 
    8282  /*noitL(noit_error, "bchain_alloc(%p) : %d\n", n, line);*/ 
    8383  if(!n) return NULL;