diff -Nur kphone.orig/kphone/dspoutalsa.cpp kphone/kphone/dspoutalsa.cpp --- kphone.orig/kphone/dspoutalsa.cpp 2005-04-22 14:09:34.000000000 +0200 +++ kphone/kphone/dspoutalsa.cpp 2005-05-27 11:57:48.000000000 +0200 @@ -189,7 +189,8 @@ #ifdef ALSADEBUG fprintf(stderr, "write %d instead of %d frames !\n", rc, (int)count/2); #endif - (int8_t*) buf += rc*4; + int8_t *buff = (int8_t*) buf; + buff += rc*4; count -= rc*2; continue; }