From: Brian Behlendorf Date: Tue, 23 Dec 2008 00:50:44 +0000 (-0800) Subject: Fix cast X-Git-Tag: zfs-0.4.4~12^2~128^2~1^2^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=683f0b1d6c492987f639532809d357ba5767064d;p=zfs Fix cast --- diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 611b90053..b6c6c94bd 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -764,11 +764,11 @@ ztest_replay_remove(ztest_replay_t *zr, lr_remove_t *lr, boolean_t byteswap) zil_replay_func_t *ztest_replay_vector[TX_MAX_TYPE] = { NULL, /* 0 no such transaction type */ - (zil_replay_func_t)ztest_replay_create, /* TX_CREATE */ + (zil_replay_func_t *)ztest_replay_create,/* TX_CREATE */ NULL, /* TX_MKDIR */ NULL, /* TX_MKXATTR */ NULL, /* TX_SYMLINK */ - (zil_replay_func_t)ztest_replay_remove, /* TX_REMOVE */ + (zil_replay_func_t *)ztest_replay_remove,/* TX_REMOVE */ NULL, /* TX_RMDIR */ NULL, /* TX_LINK */ NULL, /* TX_RENAME */