diff options
author | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2001-05-18 20:54:06 +0000 |
---|---|---|
committer | tradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef> | 2001-05-18 20:54:06 +0000 |
commit | daf592f0e8580c9a48ebdc788c7ede2549ccf8d9 (patch) | |
tree | a83dba783a3d9803ee9dca0d8b14197ed4c285e1 /src/IO.cc | |
parent | 1a861885c031c204b27f0dc5438a4eb7a29c36f1 (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.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |