summaryrefslogtreecommitdiff
path: root/sbin/camcontrol/modeedit.c
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2015-10-25 04:37:00 +0000
committerEnji Cooper <ngie@FreeBSD.org>2015-10-25 04:37:00 +0000
commitea36ade1d1227b606911835a3fbdca0cb8f52fca (patch)
tree037691ae21aa57af86885c78472987dabb124af6 /sbin/camcontrol/modeedit.c
parentd53226d71522ad4b1562f6fd691109939e0c3e4b (diff)
Notes
Diffstat (limited to 'sbin/camcontrol/modeedit.c')
-rw-r--r--sbin/camcontrol/modeedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/camcontrol/modeedit.c b/sbin/camcontrol/modeedit.c
index 00ab97404c48c..8262c3ca5a45b 100644
--- a/sbin/camcontrol/modeedit.c
+++ b/sbin/camcontrol/modeedit.c
@@ -246,7 +246,7 @@ editentry_set(char *name, char *newvalue, int editonly)
* currently workaround it (even for int64's), so we have to kludge it.
*/
#define RESOLUTION_MAX(size) ((resolution * (size) == 32)? \
- (int)0xffffffff: (1 << (resolution * (size))) - 1)
+ INT_MAX: (1 << (resolution * (size))) - 1)
assert(newvalue != NULL);
if (*newvalue == '\0')