From b2972e79c5d11dfa0625bf43838cb65209f7e632 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 5 Jun 2005 20:14:45 +0000 Subject: * cleanup trash recursively * ignore some more files * compile as C99 with -pedantic * upgrade to Berkeley DB 4.3 * add some tests for rm_rf() and copy_fd() * remove some minor warnings * minor fixes git-svn-id: file:///home/lennart/svn/public/syrep/trunk@76 07ea20a6-d2c5-0310-9e02-9ef735347d72 --- src/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/context.c') diff --git a/src/context.c b/src/context.c index 9fe37bb..6611d03 100644 --- a/src/context.c +++ b/src/context.c @@ -118,7 +118,7 @@ struct syrep_db_context* db_context_open(const char *filename, int force) { assert(k); if ((f = fopen(path, "r"))) { - if (fscanf(f, "%i", &c->timestamp) != 1) + if (fscanf(f, "%u", &c->timestamp) != 1) c->timestamp = 0; fclose(f); } -- cgit