1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Use ssize_t instead of size_t for length since it must carry a signed value

This commit is contained in:
Jonas Fonseca 2006-01-28 03:24:16 +01:00 committed by Jonas Fonseca
parent 00c4e0bfa2
commit 823c594524

View File

@ -705,7 +705,7 @@ scan_sgml_proc_inst_token(struct dom_scanner *scanner, struct dom_scanner_token
{
unsigned char *string = scanner->position;
/* The length can be empty for '<??>'. */
size_t length = -1;
ssize_t length = -1;
token->string.string = string;