Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ansi_a.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Mon, 10 Nov 2003 14:15:28 -0600 (CST)
guy         2003/11/10 14:15:28 CST

  Modified files:
    .                    packet-ansi_a.c 
  Log:
  From Albert Chin: dynamically allocate the "ett" array - some compilers
  (such as at least one older version of the HP C compiler) can't cope
  with constant expressions that involve the "?" operator, it appears;
  they think it's not a constant expression.
  
  Also, as Albert notes, there's no reason for "ett" to be static here.
  
  Revision  Changes    Path
  1.7       +14 -3     ethereal/packet-ansi_a.c