Snippets for m17n-lib 1.8.5 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/m17n-lib/1.8.5_1/150amd64-default.log.
-
database.c:292:10: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 292 | val = (void *) (n * positive); | ^~~~~~~~~~~~~~~~~~~~~~~ -
plist.c:440:42: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 440 | MPLIST_SET_ADVANCE (plist, Minteger, (void *) num); | ^~~~~~~~~~~~ -
plist.c:576:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 576 | int num = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ -
plist.c:693:29: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 693 | sprintf (buf, "%04X", (unsigned) MPLIST_VAL (plist)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext.c:640:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 640 | c1 = (int) mchar_get_prop (c, Msimple_case_folding); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext.c:839:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 839 | if ((int) mchartable_lookup (tricky_chars, c) == 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext.c:869:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 869 | c = (int) mchartable_lookup (cased, mtext_ref_char (mt, i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext.c:883:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 883 | c = (int) mchartable_lookup (cased, mtext_ref_char (mt, i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext.c:905:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 905 | class = (int) mchartable_lookup (combining_class, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext.c:920:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 920 | class = (int) mchartable_lookup (combining_class, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 921 | mtext_ref_char (mt, i)); | ~~~~~~~~~~~~~~~~~~~~~~~ -
mtext.c:941:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 941 | class = (int) mchartable_lookup (combining_class, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext.c:959:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 959 | class = (int) mchartable_lookup (combining_class, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext.c:3506:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3506 | int csd = (int) mchartable_lookup (cased, mtext_ref_char (mt, from)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext.c:3521:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3521 | && ((int) mchartable_lookup (combining_class, mtext_ref_char (mt, to)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
textprop.c:1138:7: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1138 | (unsigned) interval->stack[i]->val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
textprop.c:1171:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1171 | (int) interval->stack[i]->val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:206:3: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 206 | GET_LBC (lbc, mt, len, pos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:213:4: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 213 | GET_LBC (Albc, mt, len, Apos + 1, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:219:4: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 219 | GET_LBC (Albc, mt, len, Apos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:225:7: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 225 | GET_LBC (Albc, mt, len, Apos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:236:7: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 236 | GET_LBC (Albc, mt, len, Apos - 1, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:254:2: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 254 | GET_LBC (Blbc, mt, len, Bpos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:269:8: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 269 | GET_LBC (Blbc, mt, len, Bpos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:328:2: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 328 | GET_LBC (Blbc, mt, len, Bpos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:349:4: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 349 | GET_LBC (Blbc, mt, len, Bpos + 1, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:358:4: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 358 | GET_LBC (Blbc, mt, len, Bpos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:377:8: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 377 | GET_LBC (Blbc, mt, len, Bpos + 1, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mtext-lbrk.c:386:2: warning: cast to smaller integer type 'enum LineBreakClass' from 'void *' [-Wvoid-pointer-to-enum-cast] 386 | GET_LBC (Albc, mt, len, Apos, option); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:382:37: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 382 | mchartable_set (encoder, c1, (void *) code1); | ^~~~~~~~~~~~~~ -
charset.c:387:34: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 387 | mchartable_set (encoder, c1, (void *) code1); | ^~~~~~~~~~~~~~ -
charset.c:618:23: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 618 | unsigned code = ENCODE_CHAR (parent, c); | ^~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:635:20: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 635 | unsigned code = ENCODE_CHAR (parent, c); | ^~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:647:12: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 647 | return (unsigned) mchartable_lookup (charset->encoder, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:656:14: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 656 | return (unsigned) mchartable_lookup (charset->encoder, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1262:31: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1262 | if (! (charset->dimension = (int) mplist_get (plist, Mdimension))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1265:15: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1265 | min_range = (unsigned) mplist_get (plist, Mmin_range); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1268:19: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1268 | max_range = (unsigned) MPLIST_VAL (pl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1291:28: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1291 | if ((charset->min_code = (int) mplist_get (plist, Mmin_code)) < min_range) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1293:28: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1293 | if ((charset->max_code = (int) mplist_get (plist, Mmax_code)) > max_range) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1297:25: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1297 | charset->final_byte = (int) mplist_get (plist, Mfinal_byte); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1298:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1298 | charset->revision = (int) mplist_get (plist, Mrevision); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1299:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1299 | charset->min_char = (int) mplist_get (plist, Mmin_char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1315:28: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1315 | charset->subset_offset = (int) mplist_get (plist, Msubset_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1470:10: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1470 | return ENCODE_CHAR (charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1527:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1527 | if ((int) mchartable__lookup (charset->encoder, c, &next_c, 1) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
charset.c:1531:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1531 | if ((int) mchartable__lookup (charset->encoder, c, &next_c, 1) >= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
coding.c:634:15: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 634 | code = ENCODE_CHAR (charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
coding.c:2386:15: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2386 | code = ENCODE_CHAR (primary, c); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
coding.c:2404:16: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2404 | code = ENCODE_CHAR (charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
coding.c:2415:17: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2415 | code = ENCODE_CHAR (charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
coding.c:2773:16: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2773 | if ((code = ENCODE_CHAR (charset_roman, c)) != MCHAR_INVALID_CODE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
coding.c:2778:21: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2778 | else if ((code = ENCODE_CHAR (charset_kanji, c)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
coding.c:2787:21: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2787 | else if ((code = ENCODE_CHAR (charset_kana, c)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
coding.c:3847:30: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3847 | info->code_unit_bits = (int) mplist_get (plist, Mcode_unit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
coding.c:3900:34: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3900 | info->initial_invocation[0] = MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ -
coding.c:3906:38: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3906 | info->initial_invocation[1] = MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ -
coding.c:3913:26: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3913 | info->designations[i] = MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ -
input.c:604:37: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 604 | mplist_push (ic->plist, Minteger, (void *) len); | ^~~~~~~~~~~~ -
input.c:617:37: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 617 | mplist_push (ic->plist, Minteger, (void *) pos); | ^~~~~~~~~~~~ -
input.c:728:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 728 | return MPLIST_INTEGER (arg); | ^~~~~~~~~~~~~~~~~~~~ -
input.c:735:40: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 735 | return (MPLIST_INTEGER_P (val) ? MPLIST_INTEGER (val) : 0); | ^~~~~~~~~~~~~~~~~~~~ -
input.c:806:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 806 | return MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ -
input.c:893:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 893 | int c = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ -
input.c:920:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 920 | int c = MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ -
input.c:1091:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1091 | int c = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ -
input.c:2028:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2028 | int n = MPLIST_INTEGER (val); | ^~~~~~~~~~~~~~~~~~~~ -
input.c:2034:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2034 | if (n == MPLIST_INTEGER (valids)) | ^~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2044:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2044 | min_bound = MPLIST_INTEGER (p); | ^~~~~~~~~~~~~~~~~~ -
input.c:2048:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2048 | max_bound = MPLIST_INTEGER (p); | ^~~~~~~~~~~~~~~~~~ -
input.c:2615:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2615 | if (MPLIST_INTEGER (markers) > from) | ^~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2616:37: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2616 | MPLIST_VAL (markers) = (void *) (MPLIST_INTEGER (markers) + ins); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2616:27: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2616 | MPLIST_VAL (markers) = (void *) (MPLIST_INTEGER (markers) + ins); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2624:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2624 | if (MPLIST_INTEGER (markers) >= to) | ^~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2626:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2626 | = (void *) (MPLIST_INTEGER (markers) + ins - (to - from)); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2626:10: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2626 | = (void *) (MPLIST_INTEGER (markers) + ins - (to - from)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2627:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2627 | else if (MPLIST_INTEGER (markers) > from) | ^~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2628:29: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2628 | MPLIST_VAL (markers) = (void *) from; | ^~~~~~~~~~~~~ -
input.c:2778:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2778 | return (int) mplist_get (((MInputContextInfo *) ic->info)->markers, sym); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2813:60: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2813 | mtext_put_prop (ic->preedit, from, to, Mcandidate_index, (void *) idx); | ^~~~~~~~~~~~ -
input.c:2853:12: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2853 | if (ENCODE_CHAR (charset, c) == MCHAR_INVALID_CODE) | ^~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2894:9: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2894 | if (ENCODE_CHAR (charset, c) == MCHAR_INVALID_CODE) | ^~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:2946:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2946 | column = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ -
input.c:3126:48: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3126 | preedit_insert (ic, ic->cursor_pos, NULL, MPLIST_INTEGER (args)); | ^~~~~~~~~~~~~~~~~~~~~ -
input.c:3176:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3176 | idx = (int) mtext_get_prop (ic->preedit, pos - 1, Mcandidate_index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
input.c:3187:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3187 | idx = start + MPLIST_INTEGER (args); | ^~~~~~~~~~~~~~~~~~~~~ -
input.c:3204:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3204 | : MPLIST_INTEGER (args))); | ^~~~~~~~~~~~~~~~~~~~~ -
input.c:3278:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3278 | : MPLIST_INTEGER (args)); | ^~~~~~~~~~~~~~~~~~~~~ -
input.c:3298:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3298 | : MPLIST_INTEGER (args)); | ^~~~~~~~~~~~~~~~~~~~~ -
input.c:3318:6: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3318 | (void *) ic->cursor_pos); | ^~~~~~~~~~~~~~~~~~~~~~~ -
input.c:3332:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3332 | num = MPLIST_INTEGER (args); | ^~~~~~~~~~~~~~~~~~~~~ -
input.c:3337:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3337 | num = MPLIST_INTEGER (args); | ^~~~~~~~~~~~~~~~~~~~~ -
input.c:3424:38: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3424 | mplist_add (func_args, Minteger, (void *) code); | ^~~~~~~~~~~~~ -
input.c:3478:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3478 | val1 = MPLIST_INTEGER (value); | ^~~~~~~~~~~~~~~~~~~~~~ -
input.c:3493:33: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3493 | mplist_set (value, Minteger, (void *) val1); | ^~~~~~~~~~~~~ -
input.c:4218:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 4218 | = (int) mtext_get_prop (ic->preedit, ic->cursor_pos - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4219 | Mcandidate_index); | ~~~~~~~~~~~~~~~~~ -
m17n-flt.c:516:40: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 516 | mchartable_set (table, from + i, (void *) category); | ^~~~~~~~~~~~~~~~~ -
m17n-flt.c:563:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 563 | from = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:567:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 567 | to = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:589:24: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 589 | category_code = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:602:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 602 | category_code = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:608:31: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 608 | mchartable_set (table, from, (void *) category_code); | ^~~~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:610:41: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 610 | mchartable_set_range (table, from, to, (void *) category_code); | ^~~~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:646:38: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 646 | category->feature_table.code[i] = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:977:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 977 | int code = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:1090:39: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1090 | cmd->body.rule.src.match_idx = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:1110:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1110 | = (unsigned) MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:1124:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1124 | = (unsigned) MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:1129:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1129 | = (unsigned) MPLIST_INTEGER (pl); | ^~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:1632:6: warning: format specifies type 'int' but the argument has type 'regoff_t' (aka 'long') [-Wformat] 1632 | MDEBUG_PRINT5 ("\n [FLT] %*s(REGEX \"%s\" \"%s\" %d", depth, "", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %ld 1633 | rule->src.re.pattern, | ~~~~~~~~~~~~~~~~~~~~~ 1634 | ctx->encoded + (from - ctx->encoded_offset), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1635 | pmatch[0].rm_eo); | ~~~~~~~~~~~~~~~~ -
m17n-flt.c:1735:29: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1735 | GREF (&gstring, i)->c = MPLIST_INTEGER (p); | ^~~~~~~~~~~~~~~~~~ -
m17n-flt.c:1908:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1908 | enc = (g->c > 0 ? (int) mchartable_lookup (category->table, g->c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:2044:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2044 | ? (g->c > 0 ? (int) mchartable_lookup (table, g->c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:2047:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2047 | ? (int) mchartable_lookup (table, g->code) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:2129:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2129 | ? (g->c > 0 ? (int) mchartable_lookup (table, g->c) : 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:2131:6: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2131 | ? (int) mchartable_lookup (table, g->code) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:2322:22: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2322 | ? (g->c > 0 ? (int) mchartable_lookup (table, g->c) : 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:2324:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2324 | ? (int) mchartable_lookup (table, g->code) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-flt.c:2552:25: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2552 | int combining_class = (int) val; | ^~~~~~~~~ -
m17n-flt.c:2573:55: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2573 | mchartable_set_range ((MCharTable *) arg, from, to, (void *) category); | ^~~~~~~~~~~~~~~~~ -
m17n-flt.c:3023:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 3023 | enc = (int) mchartable_lookup (flt->coverage->table, g->c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:206:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 206 | mplist_add (pl, Minteger, (void *) hline->width); | ^~~~~~~~~~~~~~~~~~~~~ -
face.c:221:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 221 | mplist_add (pl, Minteger, (void *) box->width); | ^~~~~~~~~~~~~~~~~~~ -
face.c:222:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 222 | mplist_add (pl, Minteger, (void *) box->inner_hmargin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:223:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 223 | mplist_add (pl, Minteger, (void *) box->inner_vmargin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:224:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 224 | mplist_add (pl, Minteger, (void *) box->outer_hmargin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:225:33: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 225 | mplist_add (pl, Minteger, (void *) box->outer_vmargin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:308:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 308 | box.width = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ -
face.c:312:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 312 | box.inner_hmargin = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ -
face.c:316:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 316 | box.inner_vmargin = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ -
face.c:320:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 320 | box.outer_hmargin = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ -
face.c:324:23: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 324 | box.outer_vmargin = MPLIST_INTEGER (plist); | ^~~~~~~~~~~~~~~~~~~~~~ -
face.c:360:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 360 | index = (int) msymbol_get (key, M_face_prop_index) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:465:6: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 465 | (void *) (mface_prop_data[i].index + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:640:39: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 640 | merged_face.property[MFACE_SIZE] = (void *) font_size; | ^~~~~~~~~~~~~~~~~~ -
face.c:647:26: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 647 | double font_size = (int) merged_face.property[MFACE_SIZE]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:653:7: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 653 | && (int) merged_face.property[MFACE_RATIO] != 100) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:655:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 655 | font_size *= (int) merged_face.property[MFACE_RATIO]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:659:42: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 659 | merged_face.property[MFACE_SIZE] = (void *) ifont_size; | ^~~~~~~~~~~~~~~~~~~ -
face.c:685:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 685 | spec.size = (int) merged_face.property[MFONT_SIZE]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:853:7: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 853 | = (unsigned) mchartable_lookup (coverage, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 854 | from_g->g.c)))) | ~~~~~~~~~~~~ -
face.c:1849:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1849 | int index = (int) msymbol_get (key, M_face_prop_index) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
face.c:1934:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1934 | int index = (int) msymbol_get (key, M_face_prop_index) - 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:583:24: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 583 | resize->resize = MPLIST_INTEGER (elt); | ^~~~~~~~~~~~~~~~~~~~ -
font.c:844:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 844 | resy = (int) mfont_get_prop (font, Mresolution); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:1120:7: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1120 | (void *) (j + 1)) < 0) | ^~~~~~~~~~~~~~~~ -
font.c:1344:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1344 | spec->size = (int) (face->property[MFACE_SIZE]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:1481:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1481 | num = (int) msymbol_get (id, M_font_list_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:1498:41: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1498 | msymbol_put (id, M_font_list_len, (void *) num); | ^~~~~~~~~~~~ -
font.c:1594:14: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1594 | code = ENCODE_CHAR (encoding->repertory_charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:1597:10: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1597 | code = ENCODE_CHAR (encoding->encoding_charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:1625:13: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1625 | return (ENCODE_CHAR (encoding->repertory_charset, c)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:1626:10: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1626 | code = ENCODE_CHAR (encoding->encoding_charset, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:1691:14: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1691 | g->g.code = ENCODE_CHAR (encoding->repertory_charset, g->g.c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:1697:13: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1697 | code = ENCODE_CHAR (encoding->encoding_charset, g->g.c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:1750:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1750 | numeric = FONT_PROPERTY_NUMERIC (val, key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:1755:4: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1755 | SET_FONT_PROPERTY_NUMERIC (val, key, numeric); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:2459:14: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2459 | return (void *) size; | ^~~~~~~~~~~~~ -
font.c:2464:14: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2464 | return (void *) resy; | ^~~~~~~~~~~~~ -
font.c:2489:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2489 | return (void *) rfont->ascent; | ^~~~~~~~~~~~~~~~~~~~~~ -
font.c:2491:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2491 | return (void *) rfont->descent; | ^~~~~~~~~~~~~~~~~~~~~~~ -
font.c:2493:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2493 | return (void *) rfont->max_advance; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
font.c:2547:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2547 | int size = (int) val; | ^~~~~~~~~ -
font.c:2552:23: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2552 | unsigned resy = (unsigned) val; | ^~~~~~~~~~~~~~ -
font-ft.c:207:37: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 207 | mplist_add (plist, Mapple_roman, (void *) i); | ^~~~~~~~~~ -
font-ft.c:218:36: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 218 | mplist_add (plist, registry, (void *) i); | ^~~~~~~~~~ -
font-ft.c:221:39: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 221 | mplist_add (plist, Municode_full, (void *) unicode_full); | ^~~~~~~~~~~~~~~~~~~~~ -
font-ft.c:226:40: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 226 | mplist_add (plist, Municode_bmp, (void *) unicode_bmp); | ^~~~~~~~~~~~~~~~~~~~ -
font-ft.c:233:37: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 233 | mplist_add (plist, Miso8859_1, (void *) unicode_bmp); | ^~~~~~~~~~~~~~~~~~~~ -
font-ft.c:593:41: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 593 | if (! FcCharSetAddChar (cs, (FcChar32) MPLIST_INTEGER (char_list))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
font-ft.c:1148:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1148 | (FcChar32) MPLIST_INTEGER (char_list)) == FcFalse) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
font-ft.c:1166:45: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1166 | if (FT_Get_Char_Index (ft_face, (FT_ULong) MPLIST_INTEGER (char_list)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
font-ft.c:1524:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 1524 | charmap_index = (int) MPLIST_VAL (plist); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
fontset.c:630:11: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 630 | ? (unsigned ) mchartable_lookup (coverage, c) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
fontset.c:1491:5: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 1491 | (unsigned) MPLIST_VAL (p), | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
draw.c:112:42: warning: implicit conversion from enumeration type 'FriBidiCharType' to different enumeration type 'FriBidiParType' [-Wenum-conversion] 112 | FriBidiParType base = bidi_sensitive ? FRIBIDI_TYPE_RTL : FRIBIDI_TYPE_LTR; | ~~~~ ^~~~~~~~~~~~~~~~ -
draw.c:112:61: warning: implicit conversion from enumeration type 'FriBidiCharType' to different enumeration type 'FriBidiParType' [-Wenum-conversion] 112 | FriBidiParType base = bidi_sensitive ? FRIBIDI_TYPE_RTL : FRIBIDI_TYPE_LTR; | ~~~~ ^~~~~~~~~~~~~~~~ -
draw.c:1719:48: warning: cast to smaller integer type 'unsigned int' from 'MRealizedFace *' (aka 'struct MRealizedFace *') [-Wpointer-to-int-cast] 1719 | g->g.from, g->g.to, g->g.c, g->g.code, (unsigned) g->rface, | ^~~~~~~~~~~~~~~~~~~ -
draw.c:1715:9: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1713 | "\n%s (%02d %s pos:%d-%d c:%04X code:%04X face:%x w:%02d bidi:%d", | ~~~~ | %02ld 1714 | prefix, 1715 | g - first_g, | ^~~~~~~~~~~ -
input-gui.c:305:31: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 305 | mface_put_prop (face, Msize, (void *) ic->spot.fontsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-gui.c:214:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 214 | frame->dpi = (int) mplist_get (param, Mresolution); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-gui.c:794:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 794 | return (void *) (frame->average_width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-gui.c:796:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 796 | return (void *) (frame->ascent); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-gui.c:798:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 798 | return (void *) (frame->descent); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-X.c:1441:12: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 1441 | return (void *) device->depth; | ^~~~~~~~~~~~~~~~~~~~~~ -
m17n-X.c:2199:10: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 2199 | depth = (unsigned) mplist_value (plist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-gd.c:129:42: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 129 | msymbol_put (msymbol (buf), M_rgb, (void *) b); | ^~~~~~~~~~ -
m17n-gd.c:190:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 190 | return (int) msymbol_get (sym, M_rgb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
m17n-gd.c:861:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 861 | frame->dpi = (int) mplist_get (param, Mresolution); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mview.c:348:36: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 348 | mface_put_prop (face, Msize, (void *) fontsize); | ^~~~~~~~~~~~~~~~~ -
mview.c:370:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 370 | viewport_width = (int) mframe_get_prop (frame, Mfont_width) * 80; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mview.c:372:8: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 372 | = ((int) mframe_get_prop (frame, Mfont_ascent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mview.c:373:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 373 | + (int) mframe_get_prop (frame, Mfont_descent)) * 24; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mdump.c:668:34: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 668 | mface_put_prop (face, Msize, (void *) (fontsize * dpi / 100)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mdump.c:740:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 740 | rgb_value = (int) msymbol_get (fg, msymbol (" rgb")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mdump.c:756:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 756 | int rgb_value = (int) msymbol_get (bg, msymbol (" rgb")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:445:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 445 | size = (int) mface_get_prop (faces[i], Msize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:447:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 447 | ratio = (int) mface_get_prop (faces[i], Mratio); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:813:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 813 | int size = (int) mfont_get_prop (cursor.font, Msize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:1478:8: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1478 | if (((int) position) < 0) | ^~~~~~~~~~~~~~ -
medit.c:1593:27: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1593 | InputMethodProc (w, (XtPointer) saved_input_method, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:1770:28: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1770 | InputMethodProc (w, (XtPointer) unicode_input_method, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:1833:16: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1833 | serialized = (int) client_data; | ^~~~~~~~~~~~~~~~~ -
medit.c:1880:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1880 | int data = (int) client_data; | ^~~~~~~~~~~~~~~~~ -
medit.c:1909:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1909 | int data = (int) client_data; | ^~~~~~~~~~~~~~~~~ -
medit.c:1954:14: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1954 | int data = (int) client_data; | ^~~~~~~~~~~~~~~~~ -
medit.c:1997:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1997 | int idx = (int) client_data; | ^~~~~~~~~~~~~~~~~ -
medit.c:2033:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2033 | int idx = (int) client_data; | ^~~~~~~~~~~~~~~~~ -
medit.c:2138:18: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2138 | int narrowed = (int) client_data; | ^~~~~~~~~~~~~~~~~ -
medit.c:2198:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2198 | int len = (int) mplist_value (ic->plist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:2223:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2223 | int len = (int) mplist_value (ic->plist); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:2433:7: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2433 | if ((int) client_data == 1) | ^~~~~~~~~~~~~~~~~ -
medit.c:2790:33: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2790 | mface_put_prop (face, Msize, (void *) fontsize); | ^~~~~~~~~~~~~~~~~ -
medit.c:2806:25: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2806 | default_font_size = (int) mfont_get_prop (font, Msize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:2809:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2809 | font_width = (int) mframe_get_prop (frame, Mfont_width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:2810:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2810 | font_ascent = (int) mframe_get_prop (frame, Mfont_ascent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:2811:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2811 | font_descent = (int) mframe_get_prop (frame, Mfont_descent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:2996:2: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2996 | SetMenu (menus[i + 2], 0, name1, name2, InputMethodProc, i, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
medit.c:3068:4: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3068 | SetMenu (menus[j - i], 0, face_table[j].name, NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3069 | FaceProc, j, -1); | ~~~~~~~~~~~~~~~~