mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-01 03:28:53 +08:00
fix compile warnings
This commit is contained in:
parent
62c43e5c45
commit
d9d3c52db4
4
src/dialog_highlighters/dialog_highlighter_default.c
Normal file → Executable file
4
src/dialog_highlighters/dialog_highlighter_default.c
Normal file → Executable 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
2
src/window_animators/window_animator_slide.c
Normal file → Executable 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user