diff --git a/legacy/evas/src/lib/Evas.h b/legacy/evas/src/lib/Evas.h index abe9e9ab50..71fc4c3e17 100644 --- a/legacy/evas/src/lib/Evas.h +++ b/legacy/evas/src/lib/Evas.h @@ -2151,7 +2151,7 @@ struct _Evas_Smart_Cb_Description * Some functions that are handy but are not specific of canvas or * objects. */ - EAPI const char *evas_load_error_str(int error); + EAPI const char *evas_load_error_str (Evas_Load_Error error); /* Evas utility routines for color space conversions */ /* hsv color space has h in the range 0.0 to 360.0, and s,v in the range 0.0 to 1.0 */ diff --git a/legacy/evas/src/lib/canvas/evas_main.c b/legacy/evas/src/lib/canvas/evas_main.c index fed3155c63..5579ed4bfc 100644 --- a/legacy/evas/src/lib/canvas/evas_main.c +++ b/legacy/evas/src/lib/canvas/evas_main.c @@ -1165,7 +1165,7 @@ _evas_unwalk(Evas *e) * @ingroup Evas_Utils */ EAPI const char * -evas_load_error_str(int error) +evas_load_error_str(Evas_Load_Error error) { switch (error) {