summaryrefslogtreecommitdiff
path: root/lib/verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/verify.c')
-rw-r--r--lib/verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/verify.c b/lib/verify.c
index b8ec7b36c..67b7b5170 100644
--- a/lib/verify.c
+++ b/lib/verify.c
@@ -173,8 +173,8 @@ int rpmVerifyFile(const rpmts ts, const rpmfi fi,
{
*res |= RPMVERIFY_RDEV;
} else if (S_ISDEV(fmode) && S_ISDEV(sb.st_mode)) {
- uint16_t st_rdev = (sb.st_rdev & 0xffff);
- uint16_t frdev = (rpmfiFRdev(fi) & 0xffff);
+ rpm_rdev_t st_rdev = (sb.st_rdev & 0xffff);
+ rpm_rdev_t frdev = (rpmfiFRdev(fi) & 0xffff);
if (st_rdev != frdev)
*res |= RPMVERIFY_RDEV;
}