aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-10-29 22:57:08 +0100
committerChristian Grothoff <christian@grothoff.org>2020-10-29 22:57:08 +0100
commit4bdb5b036335fd5a393948ab77a01743cf739db6 (patch)
tree8e8dec066f8e860965ff5a8742d821af28e2a17c /src
parent235bb6c60c24217476e245d4fb7427721068bfba (diff)
fix clang compiler warnings
Diffstat (limited to 'src')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 1a52c79e..40e9cf5b 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1520,7 +1520,7 @@ postgres_insert_contract_terms (void *cls,
&h_contract_terms))
{
GNUNET_break (0);
- return GNUNET_SYSERR;
+ return GNUNET_DB_STATUS_HARD_ERROR;
}
{
@@ -1600,7 +1600,7 @@ postgres_update_contract_terms (void *cls,
&h_contract_terms))
{
GNUNET_break (0);
- return GNUNET_SYSERR;
+ return GNUNET_DB_STATUS_HARD_ERROR;
}
{
@@ -2926,7 +2926,7 @@ process_deposits_for_refund_cb (void *cls,
ctx->rs = TALER_MERCHANTDB_RS_SOFT_ERROR;
return;
default:
- ctx->rs = qs;
+ ctx->rs = (enum TALER_MERCHANTDB_RefundStatus) qs;
break;
}
}