git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a828bcc
)
r7728: handle 64 bit integers in INTEGER match
author
Andrew Tridgell
<tridge@samba.org>
Sat, 18 Jun 2005 13:39:51 +0000
(13:39 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:27 +0000
(13:18 -0500)
(This used to be commit
57132344b4e39a670e683b3db00665e5f7a899fd
)
source4/lib/ldb/ldb_tdb/ldb_match.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/ldb_tdb/ldb_match.c
b/source4/lib/ldb/ldb_tdb/ldb_match.c
index 4c11542971fd4dcc303c24ac1023b8c7d0a4d92d..b5b023bc09f4adf03986d0ddd58ccfd4ebe0d29e 100644
(file)
--- a/
source4/lib/ldb/ldb_tdb/ldb_match.c
+++ b/
source4/lib/ldb/ldb_tdb/ldb_match.c
@@
-44,10
+44,10
@@
*/
static int ltdb_val_equal_integer(const struct ldb_val *v1, const struct ldb_val *v2)
{
-
in
t i1, i2;
+
uint64_
t i1, i2;
- i1 = strtol(v1->data, NULL, 0);
- i2 = strtol(v2->data, NULL, 0);
+ i1 = strto
ul
l(v1->data, NULL, 0);
+ i2 = strto
ul
l(v2->data, NULL, 0);
return i1 == i2;
}