diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/krb5/krb/deltat.c | 6 | ||||
-rw-r--r-- | src/lib/krb5/krb/x-deltat.y | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/krb5/krb/deltat.c b/src/lib/krb5/krb/deltat.c index 6f4acdf..59ba5b1 100644 --- a/src/lib/krb5/krb/deltat.c +++ b/src/lib/krb5/krb/deltat.c @@ -15,7 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ + along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work @@ -1664,8 +1664,8 @@ mylex(int *intp, struct param *tmv) /* XXX assumes ASCII */ num = c - '0'; while (isdigit ((int) *P)) { - if (num > MAX_TIME / 10) - return tok_OVERFLOW; + if (num > MAX_TIME / 10) + return tok_OVERFLOW; num *= 10; if (num > MAX_TIME - (*P - '0')) return tok_OVERFLOW; diff --git a/src/lib/krb5/krb/x-deltat.y b/src/lib/krb5/krb/x-deltat.y index da11b88..34cdf96 100644 --- a/src/lib/krb5/krb/x-deltat.y +++ b/src/lib/krb5/krb/x-deltat.y @@ -207,8 +207,8 @@ mylex(int *intp, struct param *tmv) /* XXX assumes ASCII */ num = c - '0'; while (isdigit ((int) *P)) { - if (num > MAX_TIME / 10) - return tok_OVERFLOW; + if (num > MAX_TIME / 10) + return tok_OVERFLOW; num *= 10; if (num > MAX_TIME - (*P - '0')) return tok_OVERFLOW; |