- (stevesk) configure.in: use ll suffix for long long constant

in snprintf() test
This commit is contained in:
Kevin Steves 2001-07-15 02:09:28 +00:00
parent 60193f70f7
commit 6482ec865a
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
20010714 20010714
- (stevesk) change getopt() declaration - (stevesk) change getopt() declaration
- (stevesk) configure.in: use ll suffix for long long constant
in snprintf() test
20010713 20010713
- (djm) Enable /etc/nologin check on PAM systems, as some lack the - (djm) Enable /etc/nologin check on PAM systems, as some lack the
@ -6028,4 +6030,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.1400 2001/07/14 16:05:55 stevesk Exp $ $Id: ChangeLog,v 1.1401 2001/07/15 02:09:28 stevesk Exp $

View File

@ -1,4 +1,4 @@
# $Id: configure.in,v 1.299 2001/07/14 03:22:53 djm Exp $ # $Id: configure.in,v 1.300 2001/07/15 02:09:29 stevesk Exp $
AC_INIT(ssh.c) AC_INIT(ssh.c)
@ -1044,7 +1044,7 @@ main()
#if (SIZEOF_LONG_INT == 8) #if (SIZEOF_LONG_INT == 8)
long int num = 0x7fffffffffffffff; long int num = 0x7fffffffffffffff;
#else #else
long long num = 0x7fffffffffffffff; long long num = 0x7fffffffffffffffll;
#endif #endif
strcpy(expected_out, "9223372036854775807"); strcpy(expected_out, "9223372036854775807");
snprintf(buf, mazsize, "%lld", num); snprintf(buf, mazsize, "%lld", num);