summaryrefslogtreecommitdiff
path: root/libcli/nbt
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-23 23:22:57 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-23 23:22:57 +0100
commitdcc4081f75f0d0c51878385477f7738f49a761dd (patch)
tree45a738b1d23c7e5bd3e415e4d74594fd7dc7732a /libcli/nbt
parent8df6af213a0ca9a70e30c630970b5e2d2debe821 (diff)
downloadsamba-dcc4081f75f0d0c51878385477f7738f49a761dd.tar.gz
samba-dcc4081f75f0d0c51878385477f7738f49a761dd.tar.bz2
samba-dcc4081f75f0d0c51878385477f7738f49a761dd.zip
Fix more compiler warnings.
Diffstat (limited to 'libcli/nbt')
-rw-r--r--libcli/nbt/pynbt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/nbt/pynbt.c b/libcli/nbt/pynbt.c
index 6750ad7b4e..1d8924eac4 100644
--- a/libcli/nbt/pynbt.c
+++ b/libcli/nbt/pynbt.c
@@ -90,7 +90,7 @@ static bool PyObject_AsDestinationTuple(PyObject *obj, const char **dest_addr, u
return false;
}
-static bool PyObject_AsNBTName(PyObject *obj, struct nbt_name_socket *socket, struct nbt_name *name)
+static bool PyObject_AsNBTName(PyObject *obj, struct nbt_name_socket *name_socket, struct nbt_name *name)
{
if (PyTuple_Check(obj)) {
if (PyTuple_Size(obj) == 2) {
@@ -121,7 +121,7 @@ static bool PyObject_AsNBTName(PyObject *obj, struct nbt_name_socket *socket, st
return false;
}
-static PyObject *PyObject_FromNBTName(struct nbt_name_socket *socket, struct smb_iconv_convenience *ic,
+static PyObject *PyObject_FromNBTName(struct nbt_name_socket *name_socket, struct smb_iconv_convenience *ic,
struct nbt_name *name)
{
if (name->scope) {