Permalink
Browse files

fix for Irix compiler complaint

Irix complains about void* pointer. Brackets required.
See Re: [Fontforge-devel] problem in contextchain.c, 2013mar12
  • Loading branch information...
1 parent bcfb6be commit 97f1fe3f904c01e0d3c634f4dd3bbe9fa773a92d jon banquer committed with JoesCat Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 fontforge/contextchain.c
View
@@ -2408,7 +2408,7 @@ void ContextChainEdit(SplineFont *sf,FPST *fpst,
ggcd[i][k].gd.popup_msg = (unichar_t *) _("Set this glyph list from a selection.");
ggcd[i][k].gd.flags = gg_visible | gg_enabled | gg_utf8_popup;
ggcd[i][k].gd.handle_controlevent = CCD_FromSelection;
- ggcd[i][k].data = (void *) (intpt) CID_GlyphList+(0*100+i*20);
+ ggcd[i][k].data=(void *)((intpt)CID_GlyphList+(0*100+i*20));
ggcd[i][k++].creator = GButtonCreate;
subvarray[i][0] = &ggcd[i][k-1];

0 comments on commit 97f1fe3

Please sign in to comment.