diff options
author | lukem <lukem@NetBSD.org> | 2009-04-12 10:18:52 +0000 |
---|---|---|
committer | lukem <lukem@NetBSD.org> | 2009-04-12 10:18:52 +0000 |
commit | fa5f97966d65a882be4d6bb59b7ca60f3dbedc7a (patch) | |
tree | e47da179ba93e396333e45d227d5fadede3da1de /include | |
parent | bc4c2ad22cd4a459f3d8439b84eb69de9cbdf858 (diff) | |
download | bsd-progress-fa5f97966d65a882be4d6bb59b7ca60f3dbedc7a.tar.gz bsd-progress-fa5f97966d65a882be4d6bb59b7ca60f3dbedc7a.tar.zst bsd-progress-fa5f97966d65a882be4d6bb59b7ca60f3dbedc7a.zip |
Fix numerous WARNS=4 issues (-Wcast-qual -Wsign-compare).
Diffstat (limited to 'include')
-rw-r--r-- | include/progressbar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/progressbar.h b/include/progressbar.h index bb0c4e0..f627e88 100644 --- a/include/progressbar.h +++ b/include/progressbar.h @@ -1,7 +1,7 @@ -/* $NetBSD: progressbar.h,v 1.7 2008/09/30 03:41:53 lukem Exp $ */ +/* $NetBSD: progressbar.h,v 1.8 2009/04/12 10:18:52 lukem Exp $ */ /*- - * Copyright (c) 1996-2008 The NetBSD Foundation, Inc. + * Copyright (c) 1996-2009 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation @@ -59,7 +59,7 @@ GLOBAL int fromatty; /* input is from a terminal */ GLOBAL int verbose; /* print messages coming back from server */ GLOBAL int quit_time; /* maximum time to wait if stalled */ -GLOBAL char *direction; /* direction transfer is occurring */ +GLOBAL const char *direction; /* direction transfer is occurring */ GLOBAL sigjmp_buf toplevel; /* non-local goto stuff for cmd scanner */ #endif /* !STANDALONE_PROGRESS */ |