summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-20 13:53:46 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-20 21:42:51 +0100
commit5e640ccf813a28e117796f9c67f2b6b0aa73d1d3 (patch)
treedd95e0967cdcb64cb95d64862bb9aeb2d895a073
parent9096a424b863e2d7c8b91eb74f6ce5888ac0adf8 (diff)
ddb/db_examine.c: add missing cast
ddb/db_examine.c (addr, count): Cast to (db_expr_t *).
-rw-r--r--ddb/db_examine.c4
1 files 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;