From 9f069f7befe73ec5ec627eb22bf81afdf0e26ad9 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mon, 29 Jan 2007 17:23:54 +0000 Subject: Use fixed-size fields in report interface. --- libdm/libdm-report.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdm/libdm-report.c') diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c index 9e4002c0..ebdda8f0 100644 --- a/libdm/libdm-report.c +++ b/libdm/libdm-report.c @@ -60,7 +60,7 @@ struct field_properties { struct list list; uint32_t field_num; uint32_t sort_posn; - unsigned width; + int32_t width; const struct dm_report_object_type *type; uint32_t flags; }; @@ -750,7 +750,7 @@ int dm_report_output(struct dm_report *rh) struct dm_report_field *field; const char *repstr; char buf[4096]; - unsigned width; + int32_t width; uint32_t align; if (list_empty(&rh->rows)) -- cgit