summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-31 16:36:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:27 -0500
commitdd0d8b2a89309302e94c3fec1c06ce769a1fec60 (patch)
tree8441f456e1b113cd9024773dd5afc49637df6973 /source4/lib
parent65db148d87ba984410c5d01fed097fa005e2b3b1 (diff)
downloadsamba-dd0d8b2a89309302e94c3fec1c06ce769a1fec60.tar.gz
samba-dd0d8b2a89309302e94c3fec1c06ce769a1fec60.tar.bz2
samba-dd0d8b2a89309302e94c3fec1c06ce769a1fec60.zip
r5142: fix compiler warning
metze (This used to be commit d8aeb69ea85cc0df89e213482c446eb8e793bc86)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/talloc/testsuite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/talloc/testsuite.c b/source4/lib/talloc/testsuite.c
index 4a1074e045..967874917d 100644
--- a/source4/lib/talloc/testsuite.c
+++ b/source4/lib/talloc/testsuite.c
@@ -641,7 +641,7 @@ static BOOL test_type(void)
return False;
}
talloc_set_type(el1, struct el2);
- if (talloc_get_type(el1, struct el2) != el1) {
+ if (talloc_get_type(el1, struct el2) != (struct el2 *)el1) {
printf("type set failed on el1 with el2\n");
return False;
}