summaryrefslogtreecommitdiff
path: root/lib/rpmfi.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-12 16:41:31 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-12 16:41:31 +0300
commit7dc709b51751c065ff9df8098a13f04a7c6fea52 (patch)
treec6362083b6aec105e51ee7cdc2e0c70be24dbbc6 /lib/rpmfi.h
parentec378955f15325db5cfa826746ca9ff60c011bfb (diff)
downloadlibrpm-tizen-7dc709b51751c065ff9df8098a13f04a7c6fea52.tar.gz
librpm-tizen-7dc709b51751c065ff9df8098a13f04a7c6fea52.tar.bz2
librpm-tizen-7dc709b51751c065ff9df8098a13f04a7c6fea52.zip
Make rpmfiFSize() return rpm_loff_t type, fixup callers
- Internally file sizes are still stored as 32bit, going to 64bit wouldn't make much sense (would only waste memory for nothing) as long as we're bound by cpio's 32bit per-file limit. Being "64bit ready" for filesizes doesn't hurt anything though...
Diffstat (limited to 'lib/rpmfi.h')
-rw-r--r--lib/rpmfi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmfi.h b/lib/rpmfi.h
index 5a8115944..a96f627ae 100644
--- a/lib/rpmfi.h
+++ b/lib/rpmfi.h
@@ -246,7 +246,7 @@ const char * rpmfiFLink(rpmfi fi);
* @param fi file info set
* @return current file size, 0 on invalid
*/
-rpm_off_t rpmfiFSize(rpmfi fi);
+rpm_loff_t rpmfiFSize(rpmfi fi);
/** \ingroup rpmfi
* Return current file rdev from file info set.