Fix build problem on i386

This commit is contained in:
Keith Winstein
2012-02-26 13:51:11 -05:00
parent b2abc0d9b6
commit 9e13176d96
3 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ([2.65]) 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]) AM_INIT_AUTOMAKE([-Wall -Werror])
AC_CONFIG_SRCDIR([src/frontend/mosh-client.cc]) AC_CONFIG_SRCDIR([src/frontend/mosh-client.cc])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
+8
View File
@@ -1,3 +1,11 @@
mosh (0.96a-1) unstable; urgency=low
* Version 0.96a released.
* Fix build problem on i386
-- Keith Winstein <keithw@mit.edu> Sun, 26 Feb 2012 13:49:44 -0500
mosh (0.96-1) unstable; urgency=low mosh (0.96-1) unstable; urgency=low
* Version 0.96 released. * Version 0.96 released.
+2 -2
View File
@@ -8,7 +8,7 @@ using namespace std;
string Compressor::compress_str( const string input ) string Compressor::compress_str( const string input )
{ {
size_t len = BUFFER_SIZE; long unsigned int len = BUFFER_SIZE;
assert( Z_OK == compress( buffer, &len, assert( Z_OK == compress( buffer, &len,
reinterpret_cast<const unsigned char *>( input.data() ), reinterpret_cast<const unsigned char *>( input.data() ),
input.size() ) ); input.size() ) );
@@ -17,7 +17,7 @@ string Compressor::compress_str( const string input )
string Compressor::uncompress_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, assert( Z_OK == uncompress( buffer, &len,
reinterpret_cast<const unsigned char *>( input.data() ), reinterpret_cast<const unsigned char *>( input.data() ),
input.size() ) ); input.size() ) );