From 9e13176d96b93184928202f8151f8c2e93878cff Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Sun, 26 Feb 2012 13:51:11 -0500 Subject: [PATCH] Fix build problem on i386 --- configure.ac | 2 +- debian/changelog | 8 ++++++++ src/network/compressor.cc | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 116d576..ac0e31d 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.65]) -AC_INIT([mosh], [0.96], [mosh-devel@mit.edu]) +AC_INIT([mosh], [0.96a], [mosh-devel@mit.edu]) AM_INIT_AUTOMAKE([-Wall -Werror]) AC_CONFIG_SRCDIR([src/frontend/mosh-client.cc]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/debian/changelog b/debian/changelog index 51365e0..e1c154a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +mosh (0.96a-1) unstable; urgency=low + + * Version 0.96a released. + + * Fix build problem on i386 + + -- Keith Winstein Sun, 26 Feb 2012 13:49:44 -0500 + mosh (0.96-1) unstable; urgency=low * Version 0.96 released. diff --git a/src/network/compressor.cc b/src/network/compressor.cc index 80ee0ed..d40bf03 100644 --- a/src/network/compressor.cc +++ b/src/network/compressor.cc @@ -8,7 +8,7 @@ using namespace std; string Compressor::compress_str( const string input ) { - size_t len = BUFFER_SIZE; + long unsigned int len = BUFFER_SIZE; assert( Z_OK == compress( buffer, &len, reinterpret_cast( input.data() ), input.size() ) ); @@ -17,7 +17,7 @@ string Compressor::compress_str( const string input ) string Compressor::uncompress_str( const string input ) { - size_t len = BUFFER_SIZE; + long unsigned int len = BUFFER_SIZE; assert( Z_OK == uncompress( buffer, &len, reinterpret_cast( input.data() ), input.size() ) );