change specifier of printf to correct the output for very large image

This commit is contained in:
Rex Zhe Li 2020-01-14 12:00:22 -05:00
parent cddcfa0188
commit 3b23fca118

View File

@ -391,7 +391,7 @@ void Domain::Decomp(std::string Filename)
for (int idx=0; idx<ReadValues.size(); idx++){ for (int idx=0; idx<ReadValues.size(); idx++){
long int label=ReadValues[idx]; long int label=ReadValues[idx];
long int count=LabelCount[idx]; long int count=LabelCount[idx];
printf("Label=%d, Count=%d \n",label,count); printf("Label=%ld, Count=%ld \n",label,count);
} }
} }