From b1d7d4bd2cdbb89b42ddc0c7aa41e06331562421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 17 Aug 2015 14:52:25 +0000 Subject: [PATCH] fix ambiguity --- src/cryptaux.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptaux.hxx b/src/cryptaux.hxx index e186608..48a1dc8 100644 --- a/src/cryptaux.hxx +++ b/src/cryptaux.hxx @@ -179,7 +179,7 @@ namespace crypto { /// convert integer to binary of given size inline std::string toBinary(unsigned long data, int bytes=2) { - std::string res('\0', bytes); + std::string res(bytes, '\0'); for (int i(0); i>=8;