From 14881b23704fa21d60ad1d02aa7befa1996e7787 Mon Sep 17 00:00:00 2001 From: James Housley Date: Sat, 14 Jul 2007 16:21:50 +0000 Subject: [PATCH] For now make LIBSSH2_APINO a long, some compilers make constants an int it seems. --- ChangeLog | 5 +++++ include/libssh2.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1b9b5dc..0df1c77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-07-12 James Housley + * Mikhail Gusarov suggested make LIBSSH2_APINO a LONG since + there seems to be some pre-processors that assume constants are + INT instead of LONG. + 2007-07-05 James Housley * Gavrie Philipson sumitted a patch to get the actual text of the error on scp upload. diff --git a/include/libssh2.h b/include/libssh2.h index 7941fb9..efbb469 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -80,7 +80,7 @@ typedef long long libssh2_int64_t; #endif #define LIBSSH2_VERSION "0.16-CVS" -#define LIBSSH2_APINO 200706151200 +#define LIBSSH2_APINO 200706151200L /* Part of every banner, user specified or not */ #define LIBSSH2_SSH_BANNER "SSH-2.0-libssh2_" LIBSSH2_VERSION