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:
parent
00c4e0bfa2
commit
823c594524
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user