Hello would it be possible to add a cast to #define smb_buf(buf) (buf + smb_size + CVAL(buf,smb_wct)*2) in smb_macros.h and change it to ? #define smb_buf(buf) (buf + smb_size + (unsigned int ) CVAL(buf,smb_wct)*2) This would avoid many warnings from splint and would not change the way the macro works. Bye Andreas