tt (tooltalk): Kill some warnings

Includes some potentially bad pointer/int conversions
This commit is contained in:
Frederic Koehler
2012-08-11 18:38:59 -04:00
committed by Jon Trulson
parent 5ad7a83985
commit 19c7c80aa3
4 changed files with 5 additions and 4 deletions

View File

@@ -194,7 +194,7 @@ ldchar2(src, len, dst)
/* Load the entire string. */
memcpy((void *) dst, (const void *) src, len);
*(dst + len) = NULL;
*(dst + len) = '\0';
}
int