summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-07-23 06:54:15 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-07-23 06:54:15 +0000
commit0c47fa983161b4db0b7bd4105cebae0ddae707c8 (patch)
treeee019837e628f0b0b85eb73cb7f6dcd5a4f5c89c /plugins/MirOTR/src
parent8da25e1a11347447859fc039714156578fc73045 (diff)
temporary reverted
git-svn-id: http://svn.miranda-ng.org/main/trunk@14647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/src')
-rw-r--r--plugins/MirOTR/src/entities.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirOTR/src/entities.cpp b/plugins/MirOTR/src/entities.cpp
index 6a7d0aec1b..916bebd608 100644
--- a/plugins/MirOTR/src/entities.cpp
+++ b/plugins/MirOTR/src/entities.cpp
@@ -317,7 +317,7 @@ static size_t putc_utf8(unsigned long cp, char *buffer)
return 0;
}
-static int parse_entity(const char *current, char **to,
+static _Bool parse_entity(const char *current, char **to,
const char **from, size_t maxlen)
{
const char *end = (const char *)memchr(current, ';', maxlen);
@@ -328,7 +328,7 @@ static int parse_entity(const char *current, char **to,
char *tail = NULL;
errno = 0;
- int hex = current[2] == 'x' || current[2] == 'X';
+ _Bool hex = current[2] == 'x' || current[2] == 'X';
unsigned long cp = strtoul(
current + (hex ? 3 : 2), &tail, hex ? 16 : 10);