~ubuntu-branches/ubuntu/precise/xterm/precise-updates

« back to all changes in this revision

Viewing changes to linedata.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2011-02-10 18:48:37 UTC
  • mto: (1.4.11 upstream) (11.1.24 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: james.westby@ubuntu.com-20110210184837-zr6xtudedxk969gp
ImportĀ upstreamĀ versionĀ 268

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $XTermId: linedata.c,v 1.78 2010/04/14 23:41:10 tom Exp $ */
 
1
/* $XTermId: linedata.c,v 1.79 2011/01/21 00:07:35 tom Exp $ */
2
2
 
3
3
/************************************************************
4
4
 
5
 
Copyright 2009,2010 by Thomas E. Dickey
 
5
Copyright 2009-2010,2011 by Thomas E. Dickey
6
6
 
7
7
                        All Rights Reserved
8
8
 
189
189
#define CellDataSize(screen) (SizeOfCellData + screen->lineExtra)
190
190
 
191
191
#define CellDataAddr(screen, data, cell) \
192
 
        (CellData *)((char *)data + (cell * CellDataSize(screen)))
 
192
        (CellData *)(void *) ((char *)data + (cell * CellDataSize(screen)))
193
193
 
194
194
CellData *
195
195
newCellData(XtermWidget xw, Cardinal count)