s4:dsdb: Use portable integer constant INT64_MIN
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 4 Dec 2023 01:34:37 +0000 (14:34 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Dec 2023 02:28:33 +0000 (02:28 +0000)
commit6eec3ae6a650384103941996a160de9120186e9e
tree4e8205fe72c9c24ffe5d638a637600d48b3f3f7b
parentccbaaf26067f9d722d5080b472e36f55e492ee1b
s4:dsdb: Use portable integer constant INT64_MIN

Because it is written in hexadecimal, ‘0x8000000000000000LL’ is likely
going to be represented as an ‘unsigned long long int’. Negating it
actually will not change its value at all, so the unary minus achieves
nothing here.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/operational.c