if (ParseSizeString(str, &result) > 0) {
goto error;
}
- if (result != 10UL * 1024 * 1024 * 1024) {
+ if (result != 10737418240UL) {
goto error;
}
if (ParseSizeString(str, &result) > 0) {
goto error;
}
- if (result != 10UL * 1024 * 1024 * 1024) {
+ if (result != 10737418240) {
goto error;
}
if (ParseSizeString(str, &result) > 0) {
goto error;
}
- if (result != 10UL * 1024 * 1024 * 1024) {
+ if (result != 10737418240) {
goto error;
}
if (ParseSizeString(str, &result) > 0) {
goto error;
}
- if (result != 10UL * 1024 * 1024 * 1024) {
+ if (result != 10737418240) {
goto error;
}
if (ParseSizeString(str, &result) > 0) {
goto error;
}
- if (result != 10UL * 1024 * 1024 * 1024) {
+ if (result != 10737418240) {
goto error;
}
if (ParseSizeString(str, &result) > 0) {
goto error;
}
- if (result != 10UL * 1024 * 1024 * 1024) {
+ if (result != 10737418240) {
goto error;
}
if (ParseSizeString(str, &result) > 0) {
goto error;
}
- if (result != 10UL * 1024 * 1024 * 1024) {
+ if (result != 10737418240) {
goto error;
}
if (ParseSizeString(str, &result) > 0) {
goto error;
}
- if (result != 10UL * 1024 * 1024 * 1024) {
+ if (result != 10737418240) {
goto error;
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
/* no space */
str = "10.5";
goto error;
}
-
return 1;
error:
return 0;