X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=eggui.c;h=e3eb431fd3451681939b1df96c6df2dff0848e96;hb=9c19f1c350c5d075a47a193c1b5b2d9f8fa41f04;hp=80a1270d20b7348eccd7a1ab8a065bc7d0340a7c;hpb=d946a30d5eabd2dd3b5574fc818bb1740e5827bf;p=debian%2Fgcpegg diff --git a/eggui.c b/eggui.c index 80a1270..e3eb431 100644 --- a/eggui.c +++ b/eggui.c @@ -57,11 +57,11 @@ #include "version.h" #ifndef NO_UI -static int32 inittm = 0; +static uint32 inittm = 0; #endif -extern int32 lastDataSent; -extern int32 time_latency, time_housekeeping; +extern uint32 lastDataSent; +extern uint32 time_latency, time_housekeeping; /* Initialize user interface, as needed. */ int32 UIInit(void) { @@ -112,10 +112,10 @@ int32 UIUpdate(int32 cres, CollectRecord *coll) { if (coll->sampct == 1) { line = 11; - move(line++, 5); printw("Samples per record: %3d", (int)coll->opts.samp_rec); - move(line++, 5); printw("Seconds per record: %3d", (int)coll->opts.sec_rec); - move(line++, 5); printw("Records per packet: %3d", (int)coll->opts.rec_pkt); - move(line++, 5); printw("Bits per trial: %3d", (int)coll->opts.trialsz); + move(line++, 5); printw("Samples per record: %3d", coll->opts.samp_rec); + move(line++, 5); printw("Seconds per record: %3d", coll->opts.sec_rec); + move(line++, 5); printw("Records per packet: %3d", coll->opts.rec_pkt); + move(line++, 5); printw("Bits per trial: %3d", coll->opts.trialsz); refresh(); }