Print this page
new smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/validation/nocast.c
          +++ new/usr/src/tools/smatch/src/validation/nocast.c
↓ open down ↓ 152 lines elided ↑ open up ↑
 153  153  /*
 154  154   * check-name: nocast.c
 155  155   *
 156  156   * check-error-start
 157  157  nocast.c:34:33: warning: incorrect type in initializer (different base types)
 158  158  nocast.c:34:33:    expected unsigned long [nocast] [usertype] *static [toplevel] bad_ptr_to
 159  159  nocast.c:34:33:    got unsigned long
 160  160  nocast.c:34:33: warning: implicit cast to nocast type
 161  161  nocast.c:35:39: warning: incorrect type in initializer (different modifiers)
 162  162  nocast.c:35:39:    expected unsigned long *static [toplevel] bad_ptr_from
 163      -nocast.c:35:39:    got unsigned long [nocast] *<noident>
      163 +nocast.c:35:39:    got unsigned long [nocast] *
 164  164  nocast.c:35:39: warning: implicit cast from nocast type
 165  165  nocast.c:50:16: warning: implicit cast from nocast type
 166  166  nocast.c:54:16: warning: implicit cast from nocast type
 167  167  nocast.c:58:16: warning: implicit cast from nocast type
 168  168  nocast.c:65:38: warning: implicit cast from nocast type
 169  169  nocast.c:66:22: warning: implicit cast from nocast type
 170  170  nocast.c:67:23: warning: implicit cast from nocast type
 171  171  nocast.c:74:38: warning: implicit cast from nocast type
 172  172  nocast.c:75:22: warning: implicit cast from nocast type
 173  173  nocast.c:76:23: warning: implicit cast from nocast type
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX