gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-donau] branch master updated: fix llu


From: gnunet
Subject: [taler-donau] branch master updated: fix llu
Date: Tue, 09 Jan 2024 11:15:07 +0100

This is an automated email from the git hooks/post-receive script.

johannes-casaburi pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new e6ed1d1  fix llu
e6ed1d1 is described below

commit e6ed1d19635548074b6f1675fda67d7c65a8f8c6
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
AuthorDate: Tue Jan 9 11:14:20 2024 +0100

    fix llu
---
 src/donau/donau-httpd_get-charity.c | 4 ++--
 src/donau/donau.conf                | 2 +-
 src/donaudb/pg_lookup_charity.c     | 2 +-
 src/donaudb/pg_lookup_charity.h     | 2 +-
 src/include/donaudb_plugin.h        | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/donau/donau-httpd_get-charity.c 
b/src/donau/donau-httpd_get-charity.c
index 065ca16..6bd8ac4 100644
--- a/src/donau/donau-httpd_get-charity.c
+++ b/src/donau/donau-httpd_get-charity.c
@@ -42,10 +42,10 @@ DH_handler_charity_get (
   struct DH_RequestContext *rc,
   const char *const args[])
 {
-  unsigned long charity_id;
+  unsigned long long charity_id;
 
   if ( (NULL == args[0]) ||
-       (1 != sscanf (args[0], "%lu", &charity_id)))
+       (1 != sscanf (args[0], "%llu", &charity_id)))
   {
     GNUNET_break_op (0);
     return TALER_MHD_reply_with_error (rc->connection,
diff --git a/src/donau/donau.conf b/src/donau/donau.conf
index d46f96c..b52ba22 100644
--- a/src/donau/donau.conf
+++ b/src/donau/donau.conf
@@ -81,4 +81,4 @@ TERMS_ETAG = donau-tos-v0
 PRIVACY_DIR = $TALER_DATA_HOME/terms/
 
 # Etag / filename for the privacy policy.
-PRIVACY_ETAG = donau-pp-v0
\ No newline at end of file
+PRIVACY_ETAG = donau-pp-v0
diff --git a/src/donaudb/pg_lookup_charity.c b/src/donaudb/pg_lookup_charity.c
index 4be1b47..90c1ce6 100644
--- a/src/donaudb/pg_lookup_charity.c
+++ b/src/donaudb/pg_lookup_charity.c
@@ -28,7 +28,7 @@
 enum GNUNET_DB_QueryStatus
 DH_PG_lookup_charity (
   void *cls,
-  unsigned long charity_id,
+  uint64_t charity_id,
   struct DONAUDB_CharityMetaData *meta)
 {
   struct PostgresClosure *pg = cls;
diff --git a/src/donaudb/pg_lookup_charity.h b/src/donaudb/pg_lookup_charity.h
index 3e20736..b69b944 100644
--- a/src/donaudb/pg_lookup_charity.h
+++ b/src/donaudb/pg_lookup_charity.h
@@ -34,7 +34,7 @@
 enum GNUNET_DB_QueryStatus
 DH_PG_lookup_charity (
   void *cls,
-  unsigned long charity_id,
+  uint64_t charity_id,
   struct DONAUDB_CharityMetaData *meta);
 
 #endif
diff --git a/src/include/donaudb_plugin.h b/src/include/donaudb_plugin.h
index 42c3378..35e3a9a 100644
--- a/src/include/donaudb_plugin.h
+++ b/src/include/donaudb_plugin.h
@@ -351,7 +351,7 @@ struct DONAUDB_Plugin
   enum GNUNET_DB_QueryStatus
     (*lookup_charity)(
     void *cls,
-    unsigned long charity_id,
+    uint64_t charity_id,
     struct DONAUDB_CharityMetaData *meta);
 
 /**

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]