diff options
author | Dave Beckett <dave@dajobe.org> | 2001-03-22 21:09:36 +0000 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2001-03-22 21:09:36 +0000 |
commit | 858f33aa8a7742637e64978b63bc75dc7fc267ee (patch) | |
tree | 173726ba5c314a384ee85e6e3a003cbb564e61fd /src | |
parent | 040c9559ee087b4f34c0b5fd65c9101f27c1d8f0 (diff) | |
download | raptor-858f33aa8a7742637e64978b63bc75dc7fc267ee.tar.gz |
Added a cast for c++
Diffstat (limited to 'src')
-rw-r--r-- | src/raptor_general.c | 2 | ||||
-rw-r--r-- | src/raptor_parse.c | 2 | ||||
-rw-r--r-- | src/raptor_rdfxml.c | 2 |
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='#'; |