summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tests/hive.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-13 21:31:06 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-13 21:31:06 +0200
commit225a65da2d3c675dba8bd2330dd56f949e21fa4b (patch)
treeb4ddf8afb3d2db19e1fd6b31b45fd01f51243157 /source4/lib/registry/tests/hive.c
parent8ed6f6d5a825c8b0e8d66d30877a91a96fe6e7a4 (diff)
downloadsamba-225a65da2d3c675dba8bd2330dd56f949e21fa4b.tar.gz
samba-225a65da2d3c675dba8bd2330dd56f949e21fa4b.tar.bz2
samba-225a65da2d3c675dba8bd2330dd56f949e21fa4b.zip
Attempt to fix get_value() test on sparc machines.
(This used to be commit 10102d80d0f78777a69f6b3b1e5606d7d56b7254)
Diffstat (limited to 'source4/lib/registry/tests/hive.c')
-rw-r--r--source4/lib/registry/tests/hive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tests/hive.c b/source4/lib/registry/tests/hive.c
index 70b0241b04..a16736c761 100644
--- a/source4/lib/registry/tests/hive.c
+++ b/source4/lib/registry/tests/hive.c
@@ -220,7 +220,7 @@ static bool test_get_value(struct torture_context *tctx, const void *test_data)
torture_assert_int_equal(tctx, value.length, 4, "value length");
torture_assert_int_equal(tctx, type, REG_DWORD, "value type");
- torture_assert_int_equal(tctx, data, IVAL(value.data, 0),
+ torture_assert_mem_equal(tctx, &data, value.data, sizeof(uint32_t),
"value data");
return true;