1
Author: Alessio Treglia <quadrispro@ubuntu.com>
2
Description: Fix FTBFS with glibc 2.10.
3
Index: mediatomb-0.12.0~svn2018/src/tools.cc
4
===================================================================
5
--- mediatomb-0.12.0~svn2018.orig/src/tools.cc 2009-08-28 11:10:56.487660957 +0200
6
+++ mediatomb-0.12.0~svn2018/src/tools.cc 2009-08-28 11:11:59.543162385 +0200
8
Ref<StringBuffer> buf(new StringBuffer(len / 2));
9
for (int i = 0; i < len; i += 2)
11
- char *chi = strchr(HEX_CHARS, ptr[i]);
12
- char *clo = strchr(HEX_CHARS, ptr[i + 1]);
13
+ const char *chi = strchr(HEX_CHARS, ptr[i]);
14
+ const char *clo = strchr(HEX_CHARS, ptr[i + 1]);
25
pos = strchr(hex, chi);