diff --git a/lib/dsmobjects.c b/lib/dsmobjects.c index 75f87f2..971ebb4 100644 --- a/lib/dsmobjects.c +++ b/lib/dsmobjects.c @@ -153,16 +153,14 @@ char *dsmObjnameToStr(dsmObjName objName) { } double dsmSizeToNum(dsStruct64_t dsStruct64,dsBool_t inMB) { - unsigned long long filesize=0; - - filesize = 0x00; + unsigned long long filesize; filesize = dsStruct64.hi; filesize <<= 32; filesize |= dsStruct64.lo; // Return number in MB - return (float) inMB ? filesize/1024/1024 : filesize; + return inMB ? (float)filesize/1024/1024 : filesize; } void debugLog(int level, _IO_FILE *output, char *message, int die) { diff --git a/tsmpipe.h b/tsmpipe.h index c57745e..f0b7e26 100644 --- a/tsmpipe.h +++ b/tsmpipe.h @@ -1,4 +1,4 @@ -#define _TSMPIPE_VERSION "1.6.2" +#define _TSMPIPE_VERSION "1.6.3" #define ACTION_INFO 1 #define ACTION_CREATE 2