summaryrefslogtreecommitdiff
path: root/src/analysis/db
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-01-05 21:21:59 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-01-05 21:21:59 (GMT)
commitabec2acca0c300ab43e3fec73602e216c078b391 (patch)
treef2dc21158d5665cb409df475743226d59ae65a72 /src/analysis/db
parent639a993fd7400f95eb09ec69d89f227ef41b2865 (diff)
Ensured the right macro is used (XSTR vs STR).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@448 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/db')
-rw-r--r--src/analysis/db/cdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/db/cdb.c b/src/analysis/db/cdb.c
index 55d1b2d..24da20e 100644
--- a/src/analysis/db/cdb.c
+++ b/src/analysis/db/cdb.c
@@ -28,11 +28,11 @@
#include <archive_entry.h>
#include <errno.h>
#include <fcntl.h>
-#include <limits.h>
#include <malloc.h>
#include <poll.h>
#include <pthread.h>
#include <signal.h>
+#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@ -599,7 +599,7 @@ int g_cdb_archive_compare_hash(const GCdbArchive *archive, const rle_string *has
static bool g_cdb_archive_create_xml_desc(GCdbArchive *archive, const rle_string *user)
{
bool result; /* Bilan à retourner */
- char tmp[sizeof(STR(ULLONG_MAX))]; /* Stockage temporaire */
+ char tmp[sizeof(XSTR(UINT32_MAX))]; /* Stockage temporaire */
result = create_new_xml_file(&archive->xdoc, &archive->context);
if (!result) return false;