X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flutil_meter.h;h=66105fa06df89714e04cde566d6adb23882ef083;hb=22cc51d061e40f3e6370be668ef81ab0dc0bd282;hp=790be73d4af20e94b9e40fae1fe82b54b7afb3d3;hpb=1d81f01b131732449a408e306f08050281a3f66f;p=openldap diff --git a/include/lutil_meter.h b/include/lutil_meter.h index 790be73d4a..66105fa06d 100644 --- a/include/lutil_meter.h +++ b/include/lutil_meter.h @@ -49,8 +49,8 @@ typedef struct { void * estimator_data; double start_time; double last_update; - unsigned long goal_value; - unsigned long last_position; + size_t goal_value; + size_t last_position; } lutil_meter_t; extern const lutil_meter_display_t lutil_meter_text_display; @@ -60,10 +60,10 @@ extern int lutil_meter_open ( lutil_meter_t *lutil_meter, const lutil_meter_display_t *display, const lutil_meter_estimator_t *estimator, - unsigned long goal_value); + size_t goal_value); extern int lutil_meter_update ( lutil_meter_t *lutil_meter, - unsigned long position, + size_t position, int force); extern int lutil_meter_close (lutil_meter_t *lutil_meter);