mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Replace 'suseconds_t' with 'long'
suseconds_t isn't always defined on some systems, but all possible values are guaranteed to fit into a long, so use that.
This commit is contained in:
parent
97fefbaffb
commit
d75cc8fb72
2 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ char errmsg[128]; /* error message, when err=1 */
|
||||||
struct dir *root; /* root directory struct we're calculating */
|
struct dir *root; /* root directory struct we're calculating */
|
||||||
struct dir *orig; /* original directory, when recalculating */
|
struct dir *orig; /* original directory, when recalculating */
|
||||||
dev_t curdev; /* current device we're calculating on */
|
dev_t curdev; /* current device we're calculating on */
|
||||||
suseconds_t lastupdate; /* time of the last screen update */
|
long lastupdate; /* time of the last screen update */
|
||||||
int anpos; /* position of the animation string */
|
int anpos; /* position of the animation string */
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
int delete_delay = 100;
|
int delete_delay = 100;
|
||||||
|
|
||||||
suseconds_t lastupdate;
|
long lastupdate;
|
||||||
struct dir *root, *nextsel;
|
struct dir *root, *nextsel;
|
||||||
char noconfirm = 0,
|
char noconfirm = 0,
|
||||||
ignoreerr = 0,
|
ignoreerr = 0,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue