libmemtrack: Fix compilation warning error
Also fix a compile warning by replacing enum with int in the
getMemory function.
Change-Id: Ic4bbba425486bb7f456e928968afa5f2b04ca7ea
diff --git a/libmemtrack/memtrack_msm.c b/libmemtrack/memtrack_msm.c
index 6626b89..ac93f44 100644
--- a/libmemtrack/memtrack_msm.c
+++ b/libmemtrack/memtrack_msm.c
@@ -27,7 +27,7 @@
int msm_memtrack_get_memory(const struct memtrack_module *module,
pid_t pid,
- enum memtrack_type type,
+ int type,
struct memtrack_record *records,
size_t *num_records)
{