import: Make tobytes() take a uint64_t argumentv2.0.9-beta2
commit6cf1473d74775ea32c15271fcafb8ff9c34c701c
authorAndreas Ericsson <ae@op5.se>
Tue, 4 May 2010 06:48:50 +0000 (4 08:48 +0200)
committerAndreas Ericsson <ae@op5.se>
Tue, 4 May 2010 06:48:50 +0000 (4 08:48 +0200)
tree56096521fed9d0aadd6ba84bad7fd2d7b0454838
parent20260e7c6af935262b81a6cc5b5de3cb214e80cb
import: Make tobytes() take a uint64_t argument

imported and totsize are counted in 64-bit integers, so we must make
the tobytes function handle that, or we'll get a truncated value.

Signed-off-by: Andreas Ericsson <ae@op5.se>
import.c