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:
12b0841
)
r5142: fix compiler warning
author
Stefan Metzmacher
<metze@samba.org>
Mon, 31 Jan 2005 16:36:57 +0000
(16:36 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:09:27 +0000
(13:09 -0500)
metze
source/lib/talloc/testsuite.c
patch
|
blob
|
history
diff --git
a/source/lib/talloc/testsuite.c
b/source/lib/talloc/testsuite.c
index 4a1074e045c6defab0b43a50affd78b208a4aa73..967874917d27b257793aa7f9ba028b35ce2858f2 100644
(file)
--- a/
source/lib/talloc/testsuite.c
+++ b/
source/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;
}