summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/exchange-tools/taler-exchange-keyup.c6
-rw-r--r--src/exchangedb/exchangedb_signkeys.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c
index d039c427..9e2500d2 100644
--- a/src/exchange-tools/taler-exchange-keyup.c
+++ b/src/exchange-tools/taler-exchange-keyup.c
@@ -354,9 +354,9 @@ get_anchor_iter (void *cls,
char *end = NULL;
base = GNUNET_STRINGS_get_short_name (filename);
- stamp.abs_value_us = strtol (base,
- &end,
- 10);
+ stamp.abs_value_us = strtoll (base,
+ &end,
+ 10);
if ((NULL == end) || (0 != *end))
{
fprintf(stderr,
diff --git a/src/exchangedb/exchangedb_signkeys.c b/src/exchangedb/exchangedb_signkeys.c
index 4ead2313..8273c84b 100644
--- a/src/exchangedb/exchangedb_signkeys.c
+++ b/src/exchangedb/exchangedb_signkeys.c
@@ -125,13 +125,13 @@ static char *
get_signkey_file (const char *exchange_directory,
struct GNUNET_TIME_Absolute start)
{
- char *dir;
+ char *fn;
- GNUNET_asprintf (&dir,
+ GNUNET_asprintf (&fn,
"%s" DIR_SEPARATOR_STR TALER_EXCHANGEDB_DIR_SIGNING_KEYS DIR_SEPARATOR_STR "%llu",
exchange_directory,
(unsigned long long) start.abs_value_us);
- return dir;
+ return fn;
}