summaryrefslogtreecommitdiff
path: root/lib/util/binsearch.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-03-04 16:12:29 +0100
committerStefan Metzmacher <metze@samba.org>2011-03-04 21:19:05 +0100
commit0c78640e674914d3ee7e8233813ee91a44f16440 (patch)
treee9cd57cab2f7ef624af5286484958d5851163c3a /lib/util/binsearch.h
parenta511d37d83be3bf47440527ad2b54fd124ba97a5 (diff)
downloadsamba-0c78640e674914d3ee7e8233813ee91a44f16440.tar.gz
samba-0c78640e674914d3ee7e8233813ee91a44f16440.tar.bz2
samba-0c78640e674914d3ee7e8233813ee91a44f16440.zip
s4:kdc: fix calculation of the rodc kvno
Bit shifting is non-trivial in C:-) This int32_t a = 0x12340000; uint32_t b = (a >> 16); results in 0x00001234, but this int32_t a = 0xEDCB0000; uint32_t b = (a >> 16); results in 0xFFFFEDCB, while we expected 0x0000EDCB. metze
Diffstat (limited to 'lib/util/binsearch.h')
0 files changed, 0 insertions, 0 deletions