tt (tooltalk): Kill some warnings
Includes some potentially bad pointer/int conversions
This commit is contained in:
committed by
Jon Trulson
parent
5ad7a83985
commit
19c7c80aa3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user