diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-11-19 15:46:02 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-11-19 15:46:02 +0200 |
commit | 36d4908efe80c72a48bdce31132c4b6331c9c094 (patch) | |
tree | ce7bdefd033bddb1ffff137806d50cd0cceed61c /lib/fsm.c | |
parent | 3eed102f115bac5dbf37b4866b3d2deaf5760ec8 (diff) | |
download | rpm-36d4908efe80c72a48bdce31132c4b6331c9c094.tar.gz rpm-36d4908efe80c72a48bdce31132c4b6331c9c094.tar.bz2 rpm-36d4908efe80c72a48bdce31132c4b6331c9c094.zip |
Use matching type for fsm->digest to avoid unnecessary cast
Diffstat (limited to 'lib/fsm.c')
-rw-r--r-- | lib/fsm.c | 2 |
1 files changed, 1 insertions, 1 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; } |