diff mbox

linux-generic: timer: Do not expect odp_timer_tmo_t to be integer

Message ID 1402141387-22058-1-git-send-email-taras.kondratiuk@linaro.org
State Accepted
Commit 4b97c413e1481184fd031849520ca509bf610d86
Headers show

Commit Message

Taras Kondratiuk June 7, 2014, 11:43 a.m. UTC
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
---
 platform/linux-generic/source/odp_timer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/platform/linux-generic/source/odp_timer.c b/platform/linux-generic/source/odp_timer.c
index 6fb5025..85369d3 100644
--- a/platform/linux-generic/source/odp_timer.c
+++ b/platform/linux-generic/source/odp_timer.c
@@ -133,7 +133,7 @@  int odp_timer_cancel_tmo(odp_timer_t timer, odp_timer_tmo_t tmo)
 	/* search and delete tmo from tick list */
 	if (find_and_del_tmo(&tick->list, tmo) != 0) {
 		odp_spinlock_unlock(&tick->lock);
-		ODP_DBG("Couldn't find the tmo (%d) in tick list\n", tmo);
+		ODP_DBG("Couldn't find the tmo (%d) in tick list\n", (int)tmo);
 		return -1;
 	}
 	odp_spinlock_unlock(&tick->lock);