From dea952d002249e24ed5ddfa7da079bb215073a82 Mon Sep 17 00:00:00 2001 From: zimoch Date: Thu, 1 Sep 2011 07:21:38 +0000 Subject: [PATCH] fix for 64 bit --- require.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/require.c b/require.c index 3b5c1f1..a7ba6ba 100644 --- a/require.c +++ b/require.c @@ -3,7 +3,7 @@ * * $Author: zimoch $ * $ID$ -* $Date: 2011/09/01 07:20:25 $ +* $Date: 2011/09/01 07:21:38 $ * * DISCLAIMER: Use at your own risc and so on. No warranty, no refund. */ @@ -476,7 +476,7 @@ int require(const char* module, const char* vers) if (end) { sprintf(fulldbdname, "%s%.*s" DIRSEP "%s", - libdir, end-p, p, dbdname); + libdir, (int)(end-p), p, dbdname); end++; } else