s4:scripting: Fix ntstatus_gen.h generation on 32bit
commit8bb2f283dfb60189a0e0a44e572f463f76a56f6d
authorAndreas Schneider <asn@samba.org>
Wed, 25 Oct 2017 15:37:24 +0000 (25 17:37 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 1 Nov 2017 09:49:26 +0000 (1 10:49 +0100)
tree7ac3ad800fe1802d513653770187375f8849ca9e
parent88752411daf64af59bd00c60c36ca1ced3c044f0
s4:scripting: Fix ntstatus_gen.h generation on 32bit

The hex() function results in different output on 32bit systems. It adds
a L for long for some numbers. Thus we have a different header file.

This patch makes sure we have a consistent file generation on different
paltforms.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13099

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Wed Oct 25 22:28:39 CEST 2017 on sn-devel-144

(cherry picked from commit 2d260b28f50ea6ee704d9fab2aaf26f760fa110f)
source4/scripting/bin/gen_ntstatus.py