diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/raw/request.h | 2 | ||||
-rw-r--r-- | source4/smb_server/smb_server.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/request.h b/source4/libcli/raw/request.h index fedebf4c8d..689a5281ce 100644 --- a/source4/libcli/raw/request.h +++ b/source4/libcli/raw/request.h @@ -45,7 +45,7 @@ struct request_buffer { /* the command words and command word count. vwv points into the raw buffer */ uint8_t *vwv; - size_t wct; + uint_t wct; /* the data buffer and size. data points into the raw buffer */ uint8_t *data; diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h index e0913db030..f2ff622b40 100644 --- a/source4/smb_server/smb_server.h +++ b/source4/smb_server/smb_server.h @@ -382,7 +382,7 @@ struct smbsrv_connection { /* useful way of catching wct errors with file and line number */ #define SMBSRV_CHECK_WCT(req, wcount) do { \ if ((req)->in.wct != (wcount)) { \ - DEBUG(1,("Unexpected WCT %d at %s(%d) - expected %d\n", \ + DEBUG(1,("Unexpected WCT %u at %s(%d) - expected %d\n", \ (req)->in.wct, __FILE__, __LINE__, wcount)); \ smbsrv_send_error(req, NT_STATUS_DOS(ERRSRV, ERRerror)); \ return; \ |