summaryrefslogtreecommitdiff
path: root/source/ap/cdrdao/cdrdao.narrowing.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/cdrdao/cdrdao.narrowing.diff')
-rw-r--r--source/ap/cdrdao/cdrdao.narrowing.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/source/ap/cdrdao/cdrdao.narrowing.diff b/source/ap/cdrdao/cdrdao.narrowing.diff
new file mode 100644
index 00000000..ddca7946
--- /dev/null
+++ b/source/ap/cdrdao/cdrdao.narrowing.diff
@@ -0,0 +1,24 @@
+From fb14cd15702cbd4bf811a5f7a5edea00c7ac2b66 Mon Sep 17 00:00:00 2001
+From: root <hexumg@gmail.com>
+Date: Fri, 8 Jan 2016 00:34:43 +0300
+Subject: [PATCH] CdrDriver.cc:498:64: Fix narrowing conversion error
+
+---
+ dao/CdrDriver.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dao/CdrDriver.cc b/dao/CdrDriver.cc
+index ee89620..4d1edda 100644
+--- a/dao/CdrDriver.cc
++++ b/dao/CdrDriver.cc
+@@ -495,7 +495,7 @@ unsigned char CdrDriver::syncPattern[12] = {
+ 0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0
+ };
+
+-char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 };
++char CdrDriver::REMOTE_MSG_SYNC_[4] = { '\xff', '\x00', '\xff', '\x00' };
+
+
+ /* Maps a string to the corresponding driver option value
+--
+2.6.4