Skip to content

Commit

Permalink
Merge branch 'master' of github.com:areaDetector/ADCore
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkRivers committed Sep 30, 2023
2 parents bb49af4 + e830d83 commit 04802cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ configure/*.local
O.*/
*~
*.swp
/QtC-*
/.qtc_*
.project
.settings
.cproject
Expand Down
8 changes: 4 additions & 4 deletions ADApp/pluginSrc/NDFileHDF5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3550,7 +3550,7 @@ char* NDFileHDF5::getDimsReport()

struct dimsizes_t {
const char* name;
unsigned long long* dimsize;
hsize_t* dimsize;
int nd;
} dimsizes[7] = {
{"framesize", this->framesize, this->rank},
Expand All @@ -3569,7 +3569,7 @@ char* NDFileHDF5::getDimsReport()
c = strlen(strdims);
for(j=0; j<dimsizes[i].nd; j++)
{
epicsSnprintf(strdims+c, maxlen-c, "%6lli,", dimsizes[i].dimsize[j]);
epicsSnprintf(strdims+c, maxlen-c, "%6llu,", (unsigned long long) dimsizes[i].dimsize[j]);
c = strlen(strdims);
}
//printf("name=%s c=%d rank=%d strdims: %s\n", dimsizes[i].name, c, dimsizes[i].nd, strdims);
Expand Down Expand Up @@ -3771,8 +3771,8 @@ asynStatus NDFileHDF5::createNewFile(const char *fileName)
hdfstatus = H5Pset_alignment( access_plist, threshold, align );
if (hdfstatus < 0){
asynPrint(this->pasynUserSelf, ASYN_TRACE_ERROR,
"%s%s Warning: failed to set boundary threshod=%llu and alignment=%llu bytes\n",
driverName, functionName, threshold, align);
"%s%s Warning: failed to set boundary threshold=%llu and alignment=%llu bytes\n",
driverName, functionName, (unsigned long long) threshold, (unsigned long long) align);
H5Pget_alignment( access_plist, &threshold, &align );
this->lock();
setIntegerParam(NDFileHDF5_chunkBoundaryAlign, (int)align);
Expand Down

0 comments on commit 04802cb

Please sign in to comment.