fix compile warnings

This commit is contained in:
xianjimli 2019-04-03 15:00:13 +08:00
parent 62c43e5c45
commit d9d3c52db4
2 changed files with 3 additions and 3 deletions

4
src/dialog_highlighters/dialog_highlighter_default.c Normal file → Executable file
View File

@ -1,4 +1,4 @@
/**
/**
* File: dialog_highlighter.c
* Author: AWTK Develop Team
* Brief: dialog_highlighter
@ -33,7 +33,7 @@ static ret_t dialog_highlighter_default_draw_mask(canvas_t* c, uint8_t alpha) {
canvas_fill_rect(c, 0, 0, w, h);
}
return alpha;
return RET_OK;
}
static ret_t dialog_highlighter_default_prepare(dialog_highlighter_t* h, canvas_t* c) {

2
src/window_animators/window_animator_slide.c Normal file → Executable file
View File

@ -31,7 +31,7 @@ static ret_t window_animator_slide_draw_mask(window_animator_t* wa, uint8_t alph
canvas_fill_rect(c, win->x, win->y, win->w, win->h);
}
return alpha;
return RET_OK;
}
static ret_t on_prev_window_paint_done(void* ctx, event_t* e) {