Changeset 4a83807dcb26ec0ffc716dacf0a002a30a24c8c7

Show
Ignore:
Timestamp:
10/26/09 14:02:40 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1256565760 +0000
git-parent:

[4790fc84757a210ff4aed6895cac2729f4a3e497]

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

casting warnings, refs #34

Files:

Legend:

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

    r0256945 r4a83807  
    5656  noit_hash_replace(&interpolation_operators, 
    5757                    strdup(name), strlen(name), 
    58                     f, 
     58                    (void *)f, 
    5959                    free, NULL); 
    6060  return 0; 
     
    102102                } 
    103103                else 
    104                   oper_sprint = voper; 
     104                  oper_sprint = (intperpolate_oper_fn)voper; 
    105105                nkey++; 
    106106              } 
  • src/noit_jlog_listener.c

    rb9a4230 r4a83807  
    9090  int w, sofar = 0; 
    9191  while(l > sofar) { 
    92     w = e->opset->write(e->fd, b + sofar, l - sofar, mask, e); 
     92    w = e->opset->write(e->fd, (char *)b + sofar, l - sofar, mask, e); 
    9393    if(w <= 0) return w; 
    9494    sofar += w; 
  • src/noit_livestream_listener.c

    rb9a4230 r4a83807  
    147147  int w, sofar = 0; 
    148148  while(l > sofar) { 
    149     w = e->opset->write(e->fd, b + sofar, l - sofar, mask, e); 
     149    w = e->opset->write(e->fd, (char *)b + sofar, l - sofar, mask, e); 
    150150    if(w <= 0) return w; 
    151151    sofar += w;