summaryrefslogtreecommitdiff
path: root/source4/torture/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-10-24 15:27:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:12 -0500
commit6fa65899d5658017998735ef42d7120fdb26cd77 (patch)
treef672ca04448952bd06ded6a0190449706ebabee8 /source4/torture/auth
parent228e07a6fe684bf4d4a5b70aa4e5033c2cf25b85 (diff)
downloadsamba-6fa65899d5658017998735ef42d7120fdb26cd77.tar.gz
samba-6fa65899d5658017998735ef42d7120fdb26cd77.tar.bz2
samba-6fa65899d5658017998735ef42d7120fdb26cd77.zip
r11277: fix compiler warning
metze (This used to be commit 4d956b17c1f9e0d7a3c275b621380f1bc821b56e)
Diffstat (limited to 'source4/torture/auth')
-rw-r--r--source4/torture/auth/pac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/auth/pac.c b/source4/torture/auth/pac.c
index df9e45614e..41dbc08599 100644
--- a/source4/torture/auth/pac.c
+++ b/source4/torture/auth/pac.c
@@ -357,7 +357,7 @@ static BOOL torture_pac_saved_check(void)
pac_file = lp_parm_string(-1,"torture","pac_file");
if (pac_file) {
- tmp_blob.data = file_load(pac_file, &tmp_blob.length, mem_ctx);
+ tmp_blob.data = (uint8_t *)file_load(pac_file, &tmp_blob.length, mem_ctx);
printf("(saved test) Loaded pac of size %d from %s\n", tmp_blob.length, pac_file);
} else {
tmp_blob = data_blob(saved_pac, sizeof(saved_pac));