libmemtrack: Fix compilation warning error

Also fix a compile warning by replacing enum with int in the
getMemory function.

Change-Id: Ic4bbba425486bb7f456e928968afa5f2b04ca7ea
This commit is contained in:
Colin Cross
2013-09-16 15:16:08 -07:00
committed by Gerrit - the friendly Code Review server
parent 40524ac29a
commit f7f9d13108

View File

@@ -27,7 +27,7 @@ int msm_memtrack_init(const struct memtrack_module *module)
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)
{