git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fea3e3
)
libnbt: Align data types
author
Volker Lendecke
<vl@samba.org>
Thu, 12 Apr 2018 18:40:32 +0000
(20:40 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 13 Apr 2018 16:14:42 +0000
(18:14 +0200)
ARRAY_SIZE returns size_t
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
libcli/nbt/nbtsocket.c
patch
|
blob
|
history
diff --git
a/libcli/nbt/nbtsocket.c
b/libcli/nbt/nbtsocket.c
index 94ec4627d801bd1e371ff0821ddd385646026075..33d53fba9939c88eb6c3327793ea47acad4ab822 100644
(file)
--- a/
libcli/nbt/nbtsocket.c
+++ b/
libcli/nbt/nbtsocket.c
@@
-527,7
+527,7
@@
NTSTATUS nbt_set_unexpected_handler(struct nbt_name_socket *nbtsock,
*/
_PUBLIC_ NTSTATUS nbt_rcode_to_ntstatus(uint8_t rcode)
{
-
in
t i;
+
size_
t i;
struct {
enum nbt_rcode rcode;
NTSTATUS status;