mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Squash warnings
svn path=/trunk/netsurf/; revision=11745
This commit is contained in:
parent
c70ed3d5ad
commit
1b5d9f07c8
@ -205,7 +205,7 @@ static bool fetch_about_config_handler(struct fetch_about_context *ctx)
|
||||
if (res <= 0)
|
||||
break; /* last option */
|
||||
|
||||
if (res >= (sizeof buffer - slen)) {
|
||||
if (res >= (int) (sizeof buffer - slen)) {
|
||||
/* last entry would not fit in buffer, submit buffer */
|
||||
if (fetch_about_send_callback(FETCH_DATA, ctx, buffer,
|
||||
slen, FETCH_ERROR_NO_ERROR))
|
||||
@ -263,7 +263,7 @@ static bool fetch_about_choices_handler(struct fetch_about_context *ctx)
|
||||
if (res <= 0)
|
||||
break; /* last option */
|
||||
|
||||
if (res >= (sizeof buffer - slen)) {
|
||||
if (res >= (int) (sizeof buffer - slen)) {
|
||||
/* last entry would not fit in buffer, submit buffer */
|
||||
if (fetch_about_send_callback(FETCH_DATA, ctx, buffer,
|
||||
slen, FETCH_ERROR_NO_ERROR))
|
||||
|
Loading…
Reference in New Issue
Block a user