diff options
-rw-r--r-- | lib/fsm.c | 2 | ||||
-rw-r--r-- | lib/fsm.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -765,7 +765,7 @@ static int fsmMapAttrs(FSM_t fsm) */ if (ts != NULL && !(rpmtsFlags(ts) & RPMTRANS_FLAG_NOMD5)) { size_t diglen = rpmDigestLength(fsm->digestalgo); - fsm->digest = (char *)(fi->digests ? (fi->digests + (diglen * i)) : NULL); + fsm->digest = (fi->digests ? (fi->digests + (diglen * i)) : NULL); } else { fsm->digest = NULL; } @@ -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 */ |