1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/lib
Volker Lendecke f9acb949cc messaging4: Fix types
According to python docs, PyArg_ParseTuple takes "int" and "unsigned
long long". With pointers down to functions, in particular with
varargs, there is no automatic conversion. So we need to be very
strict about types. Automatic conversion to for example uint64_t
happes only with assignment.

This fixes a crash on FreeBSD10/clang.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Böhme <rb@sernet.de>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Nov 27 21:32:18 CET 2014 on sn-devel-104
2014-11-27 21:32:18 +01:00
..
cmdline waf: Make sure we link against samba-util. 2013-02-14 16:56:29 +01:00
com s4:lib/com: explicitly use allow_warnings=True 2014-04-02 09:03:46 +02:00
events s4:lib/events: remove unused allow_warnings=True 2014-11-25 07:25:46 +01:00
http ncacn_http: fix GNUism 2014-10-09 22:05:25 +02:00
messaging messaging4: Fix types 2014-11-27 21:32:18 +01:00
policy Remove a number of NT_STATUS_HAVE_NO_MEMORY_AND_FREE macros from the codebase. 2014-03-05 16:33:21 +01:00
registry s4:lib/registry: remove unused allow_warnings=True 2014-11-25 07:25:45 +01:00
samba3 s4-lib/samba3: Remove unused smbpasswd_decode_acb_info() 2012-02-10 16:45:13 +11:00
socket s4:lib/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
stream s4 dns: Fix TCP handling in the DNS server 2012-03-06 21:17:18 +01:00
tls s4:lib/tls: explicitly use allow_warnings=True 2014-04-02 09:03:46 +02:00
wmi s4:lib/wmi: avoid '//' comments 2011-10-08 07:24:14 +02:00