diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-03-17 08:50:32 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-03-17 09:58:19 +0100 |
commit | 274be9ac24e0530468c4567b37c11738e52c2330 (patch) | |
tree | a7f2dd7dfc7c0d212c2ac994852755528b890713 /src/lib/emile | |
parent | 49f017926ae98258f1141ab8659a16982e906bff (diff) |
emile: use an enum for level instead of just an int.
Diffstat (limited to 'src/lib/emile')
-rw-r--r-- | src/lib/emile/emile_compress.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/emile/emile_compress.c b/src/lib/emile/emile_compress.c index 8c3cb9011a..b0807cb8ce 100644 --- a/src/lib/emile/emile_compress.c +++ b/src/lib/emile/emile_compress.c | |||
@@ -31,10 +31,13 @@ emile_compress_buffer_size(const Eina_Binbuf *data, Emile_Compressor_Type t) | |||
31 | } | 31 | } |
32 | 32 | ||
33 | EAPI Eina_Binbuf * | 33 | EAPI Eina_Binbuf * |
34 | emile_binbuf_compress(const Eina_Binbuf *data, Emile_Compressor_Type t, int level) | 34 | emile_binbuf_compress(const Eina_Binbuf *data, |
35 | Emile_Compressor_Type t, | ||
36 | Emile_Compressor_Level l) | ||
35 | { | 37 | { |
36 | void *compact; | 38 | void *compact; |
37 | int length; | 39 | int length; |
40 | int level = l; | ||
38 | Eina_Bool ok = EINA_FALSE; | 41 | Eina_Bool ok = EINA_FALSE; |
39 | 42 | ||
40 | length = emile_compress_buffer_size(data, t); | 43 | length = emile_compress_buffer_size(data, t); |