aboutsummaryrefslogtreecommitdiff
path: root/src/IO.cc
diff options
context:
space:
mode:
authortradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2001-05-18 20:54:06 +0000
committertradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2001-05-18 20:54:06 +0000
commitdaf592f0e8580c9a48ebdc788c7ede2549ccf8d9 (patch)
treea83dba783a3d9803ee9dca0d8b14197ed4c285e1 /src/IO.cc
parent1a861885c031c204b27f0dc5438a4eb7a29c36f1 (diff)
Pass a 'const void *data' pointer into IOwriteAttribute().
git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@16 21a6bef8-4479-4f54-8f8d-0db94a2919ef
Diffstat (limited to 'src/IO.cc')
-rw-r--r--src/IO.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IO.cc b/src/IO.cc
index a6c8eab..0287a9d 100644
--- a/src/IO.cc
+++ b/src/IO.cc
@@ -302,7 +302,7 @@ int IOnAnnotations(IOFile deviceID){
return dev->nAnnotations();
}
-int IOwriteAttribute(IOFile deviceID,char *name,int type,Long length,void *data){
+int IOwriteAttribute(IOFile deviceID,char *name,int type,Long length,const void *data){
IObase *dev=(IObase*)(deviceID);
IObase::DataType typeID = IObase::Int2DataType(type);
return dev->writeAttribute(name,typeID,length,data);