[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-dev] [Patch] src/test/test.h
- To: "Tor Developers" <tor-dev@xxxxxxxxxxxxxxxxxxxx>
- Subject: [tor-dev] [Patch] src/test/test.h
- From: "Gisle Vanem" <gvanem@xxxxxxxx>
- Date: Wed, 13 Aug 2014 16:47:46 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Wed, 13 Aug 2014 10:48:06 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s2048; t=1407941270; bh=iicAI3e2Nr7359srKcaqVohuPswFMqlaRmWWMOnAbUs=; h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:From:To:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=dt02HgDcYT6YMLu6m1IlQBz7imS8QbguieMTrvqaKyxrI0C57DbPEnGlhXftnPlmUn+EeU9viabZSCkqvJDtlOXa/Aa8jMU0SAlSoUKYDIB25zLcaN75fe0DLnMDaG+rLIZ7NIUoFz2VkUpgKyVgqExq8LcTKhrxeDmhmqHhqBTn1sOFUiFs8TYfJ9cg4UEsds+Q2Vt/fLlNKq4rHjI4X4GGgCPCzsk5wYRDl1r340L8RMTQYLN4EZK/LKu9Z5Zg0rVnOg389dNYyD8peP8hKYEHVoL48OiV4dPO3aZzr4x+DT0S338wJJm5m2//AnEt+alzlXF5TXBVSNz4d9HiPw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s1024; t=1407941270; bh=iicAI3e2Nr7359srKcaqVohuPswFMqlaRmWWMOnAbUs=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:From:To:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=oLOwRClGQqNLlExoeWJfUo28RVU6wI+5U9bTL8iPLvUsRsVFK1zvZaffqPcYvxMVe9JH+e+zu2fXvEAVWlmxFvWTYUYwBjFQLPOhs+YVFyWvyOGRQNCQcIIdRxN5hjY1mSk/CD1NdV612jIAK4kd7YBObO5QxLVfX+o+znSJJjE=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.no; b=QvpojD8TC4B3gpk7DgLO2JHXNRm5n73kBCWbtFXcIxMWzjI+wDyCFIxshi87oYPgvhmtggclbifkYWb8bMzTKI1c5ZfUn/X3P3+2+AtPusrb2+Mjw1K3Es1F3JuqyRGZh0m0aDsynAqYnu3OwHiqat5uzdQKLlbVp9s6v7TMyqOIyUWPTcrmeLD+Jp131coReoOT7ZHMx23ZawUnPpYHPwY1uzbcX2Voi5H/hAAxsdVUT1+YFNPNjto1byHg9AWHknXKT+S0LLFb78oScKxyB1JKm7DGF9lOKpC/Lbs8nX4An4PBmt8lWiBHpbYT9vAa0+LQWGBOyWcN2OuQZrX1Bg==;
- List-archive: <http://lists.torproject.org/pipermail/tor-dev/>
- List-help: <mailto:tor-dev-request@lists.torproject.org?subject=help>
- List-id: discussion regarding Tor development <tor-dev.lists.torproject.org>
- List-post: <mailto:tor-dev@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=unsubscribe>
- Reply-to: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-dev" <tor-dev-bounces@xxxxxxxxxxxxxxxxxxxx>
The 'U64_PRINTF_TYPE' is defined twice for MSVC.
An 'I64_PRINTF_TYPE' is needed too:
--- orig/src/test/test.h 2014-05-13 23:24:22 +0000
+++ src/test/test.h 2014-05-13 23:26:51 +0000
@@ -61,7 +61,7 @@
#ifdef _MSC_VER
#define U64_PRINTF_TYPE uint64_t
-#define U64_PRINTF_TYPE int64_t
+#define I64_PRINTF_TYPE int64_t
#else
#define U64_PRINTF_TYPE unsigned long long
#define I64_PRINTF_TYPE long long
--gv
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev