summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2001-03-22 21:09:36 +0000
committerDave Beckett <dave@dajobe.org>2001-03-22 21:09:36 +0000
commit858f33aa8a7742637e64978b63bc75dc7fc267ee (patch)
tree173726ba5c314a384ee85e6e3a003cbb564e61fd /src
parent040c9559ee087b4f34c0b5fd65c9101f27c1d8f0 (diff)
downloadraptor-858f33aa8a7742637e64978b63bc75dc7fc267ee.tar.gz
Added a cast for c++
Diffstat (limited to 'src')
-rw-r--r--src/raptor_general.c2
-rw-r--r--src/raptor_parse.c2
-rw-r--r--src/raptor_rdfxml.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/raptor_general.c b/src/raptor_general.c
index 8a223cb4..802161e4 100644
--- a/src/raptor_general.c
+++ b/src/raptor_general.c
@@ -2492,7 +2492,7 @@ rapier_make_uri_from_id(rapier_uri *base_uri, const char *id)
#ifdef LIBRDF_INTERNAL
/* "#id\0" */
len=1+strlen(id)+1;
- qname=LIBRDF_MALLOC(cstring, len);
+ qname=(char*)LIBRDF_MALLOC(cstring, len);
if(!qname)
return NULL;
*qname='#';
diff --git a/src/raptor_parse.c b/src/raptor_parse.c
index 8a223cb4..802161e4 100644
--- a/src/raptor_parse.c
+++ b/src/raptor_parse.c
@@ -2492,7 +2492,7 @@ rapier_make_uri_from_id(rapier_uri *base_uri, const char *id)
#ifdef LIBRDF_INTERNAL
/* "#id\0" */
len=1+strlen(id)+1;
- qname=LIBRDF_MALLOC(cstring, len);
+ qname=(char*)LIBRDF_MALLOC(cstring, len);
if(!qname)
return NULL;
*qname='#';
diff --git a/src/raptor_rdfxml.c b/src/raptor_rdfxml.c
index 8a223cb4..802161e4 100644
--- a/src/raptor_rdfxml.c
+++ b/src/raptor_rdfxml.c
@@ -2492,7 +2492,7 @@ rapier_make_uri_from_id(rapier_uri *base_uri, const char *id)
#ifdef LIBRDF_INTERNAL
/* "#id\0" */
len=1+strlen(id)+1;
- qname=LIBRDF_MALLOC(cstring, len);
+ qname=(char*)LIBRDF_MALLOC(cstring, len);
if(!qname)
return NULL;
*qname='#';