From 5e640ccf813a28e117796f9c67f2b6b0aa73d1d3 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Wed, 20 Nov 2013 13:53:46 +0100 Subject: ddb/db_examine.c: add missing cast ddb/db_examine.c (addr, count): Cast to (db_expr_t *). --- ddb/db_examine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ddb/db_examine.c b/ddb/db_examine.c index 071ca8f..31f77bd 100644 --- a/ddb/db_examine.c +++ b/ddb/db_examine.c @@ -394,7 +394,7 @@ db_search_cmd() size = sizeof(int); } - if (!db_expression(&addr)) { + if (!db_expression((db_expr_t *)&addr)) { db_printf("Address missing\n"); db_flush_lex(); return; @@ -411,7 +411,7 @@ db_search_cmd() t = db_read_token(); if (t == tCOMMA) { - if (!db_expression(&count)) { + if (!db_expression((db_expr_t *)&count)) { db_printf("Count missing\n"); db_flush_lex(); return; -- cgit v1.2.3