mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
help the compiler create more efficient code
Patch from Michael <virtual_worlds@gmx.de> Full text: As usual I have modified only minor things to remove warnigs when compiled as C++ code, have added some const-specifiers where possible to help the compiler create more efficient code and added some static-specifiers to make functions invisible to other modules.
This commit is contained in:
@ -573,7 +573,7 @@ int main(int argc, char **argv) {
|
||||
/* Zero and negative values are not permitted */
|
||||
fprintf(stderr, "Invalid dot radius value (A06)\n");
|
||||
fflush(stderr);
|
||||
my_symbol->dot_size = 4.0 / 5.0;
|
||||
my_symbol->dot_size = 4.0F / 5.0F;
|
||||
}
|
||||
}
|
||||
if (!strcmp(long_options[option_index].name, "border")) {
|
||||
|
Reference in New Issue
Block a user