summaryrefslogtreecommitdiff
path: root/src/lib/emile
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-03-17 08:50:32 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-17 09:58:19 +0100
commit274be9ac24e0530468c4567b37c11738e52c2330 (patch)
treea7f2dd7dfc7c0d212c2ac994852755528b890713 /src/lib/emile
parent49f017926ae98258f1141ab8659a16982e906bff (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.c5
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
33EAPI Eina_Binbuf * 33EAPI Eina_Binbuf *
34emile_binbuf_compress(const Eina_Binbuf *data, Emile_Compressor_Type t, int level) 34emile_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);