X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHDFPersist%2FHDFnObjects.c;h=da77d5f1db197d4fed8212748176acb1be6d58d1;hb=0c899895a2ce630522c628466a1ddacd0c5d6ffd;hp=1a9d734ab2adc4fa0f3ef53765e90232efde1d60;hpb=97c540aef8c8b4a831e01218b620fe1ff8467ffa;p=modules%2Fkernel.git diff --git a/src/HDFPersist/HDFnObjects.c b/src/HDFPersist/HDFnObjects.c index 1a9d734ab..da77d5f1d 100644 --- a/src/HDFPersist/HDFnObjects.c +++ b/src/HDFPersist/HDFnObjects.c @@ -31,14 +31,14 @@ SALOME HDFPersist : implementation of HDF persitent ( save/ restore ) /* * - Name : HDFnObjects - * - Description : returns the number of HDF objets in a HDF group + * - Description : returns the number of HDF objects in an HDF group * - Parameters : * - fid (IN) : HDF file ID * - path (IN) : access path to the HDF group in the HDF file * - Results : * - if success : number of objects - * - if failure : -1 - */ + * - if failure : -1 + */ hdf_err Num(hdf_idt id,const char *name, void *data); @@ -59,10 +59,9 @@ HDFnObjects(hdf_idt fid,const char *path,int *n) hdf_err Num(hdf_idt id,const char *name, void *data) { int *count; - + count = (int *) data; (*count)++; return 0; } -