diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2015-10-25 04:37:00 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2015-10-25 04:37:00 +0000 |
commit | ea36ade1d1227b606911835a3fbdca0cb8f52fca (patch) | |
tree | 037691ae21aa57af86885c78472987dabb124af6 /sbin/camcontrol/modeedit.c | |
parent | d53226d71522ad4b1562f6fd691109939e0c3e4b (diff) |
Notes
Diffstat (limited to 'sbin/camcontrol/modeedit.c')
-rw-r--r-- | sbin/camcontrol/modeedit.c | 2 |
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') |