commit - c7570a7d228292d00dad13e979e02a3562a516f0
commit + 04a9c38f80b87f26d80630703b2f5c774dfe2e31
blob - 410df14ef468518b7824e7942b4d972a61601855
blob + 9fc6ddd37d7c720ef3811fab71e973ccde6e5609
--- script.c
+++ script.c
#define NUMCAST(v, totype, max) do { \
if (v > max) { \
- fprintf(stderr, "Can't cast %"PRIu64 \
+ fprintf(stderr, "can't cast %"PRIu64 \
" to %s\n", v, pp_totype(totype)); \
return EVAL_ERR; \
} \
} while (0)
if (!val_isnum(a)) {
- fprintf(stderr, "Can't cast ");
+ fprintf(stderr, "can't cast ");
ppf_val(stderr, a);
fprintf(stderr, " to type %s\n", pp_totype(totype));
return EVAL_ERR;
case V_U16: NUMCAST(v, totype, UINT16_MAX);
case V_U32: NUMCAST(v, totype, UINT32_MAX);
default:
- fprintf(stderr, "Can't cast %"PRIu64" to %s\n",
+ fprintf(stderr, "can't cast %"PRIu64" to %s\n",
v, pp_totype(totype));
return EVAL_ERR;
}