Use a more reasonable type for rpmteHeaderSize()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 9 Feb 2010 08:01:40 +0000 (10:01 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 9 Feb 2010 08:01:40 +0000 (10:01 +0200)
commita068a4dec140ff554fdfe73815e7f5efbccd0d0c
tree36aa5785d1ef757ec5f2a7e353da33f4f6dc63a3
parent06bac8b9aac43e86cfe62fdd71dcdccdcc8b7874
Use a more reasonable type for rpmteHeaderSize()
- Headers must always fit into memory which is not true of rpm_loff_t,
  and the real size is arbitrarily capped far below even that limit.
  headerSizeof() uses unsigned int here, just use that...
- Doesn't affect the calculations, just type pedantry...
lib/rpmte.c
lib/rpmte_internal.h