From 36d4908efe80c72a48bdce31132c4b6331c9c094 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 19 Nov 2008 15:46:02 +0200 Subject: Use matching type for fsm->digest to avoid unnecessary cast --- lib/fsm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/fsm.h') diff --git a/lib/fsm.h b/lib/fsm.h index 34fd86ddb..83a985ac7 100644 --- a/lib/fsm.h +++ b/lib/fsm.h @@ -152,7 +152,7 @@ struct fsm_s { cpioMapFlags mapFlags; /*!< Bit(s) to control mapping. */ const char * dirName; /*!< File directory name. */ const char * baseName; /*!< File base name. */ - const char * digest; /*!< Binary checksum (NULL disables). */ + const unsigned char * digest; /*!< Binary checksum (NULL disables). */ security_context_t fcontext;/*!< File security context (NULL disables). */ cap_t fcaps; /*!< File capabilities */ pgpHashAlgo digestalgo; /*!< File checksum algorithm */ -- cgit v1.2.3