File: 0002-Fix-implicit-pointer-conversion.patch

package info (click to toggle)
camlidl 1.05-14
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 964 kB
  • sloc: ml: 4,894; ansic: 941; cpp: 897; makefile: 319; xml: 213; sh: 75
file content (27 lines) | stat: -rw-r--r-- 802 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Sylvain Le Gall <gildor@debian.org>
Date: Sat, 3 Jul 2010 18:36:39 +0200
Subject: [PATCH] Fix implicit pointer conversion

Avoid segfault on archs where size of pointer is greater than
the size of an integer (patch provided by Dann Frazier).

Author: dann frazier <dannf@hp.com>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323221
Signed-off-by: Sylvain Le Gall <gildor@debian.org>
---
 runtime/comerror.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/runtime/comerror.c b/runtime/comerror.c
index 1e68542..a137b29 100644
--- a/runtime/comerror.c
+++ b/runtime/comerror.c
@@ -22,6 +22,7 @@
 #include <caml/callback.h>
 #include <caml/fail.h>
 #include <caml/alloc.h>
+#include <caml/printexc.h>
 #include "camlidlruntime.h"
 #include "comstuff.h"
 
--