Revision 584c2f1d cmdutils.c
cmdutils.c | ||
---|---|---|
106 | 106 |
error= "The value for %s was %s which is not within %f - %f\n"; |
107 | 107 |
else if(type == OPT_INT64 && (int64_t)d != d) |
108 | 108 |
error= "Expected int64 for %s but found %s\n"; |
109 |
else if (type == OPT_INT && (int)d != d) |
|
110 |
error= "Expected int for %s but found %s\n"; |
|
109 | 111 |
else |
110 | 112 |
return d; |
111 | 113 |
fprintf(stderr, error, context, numstr, min, max); |
Also available in: Unified diff