Changeset 170 for trunk/src/sh_html.c


Ignore:
Timestamp:
Apr 30, 2008, 11:56:45 PM (16 years ago)
Author:
katerina
Message:

Plenty of compiler warnings fixed, SQL query length fixed, doc update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_html.c

    r131 r170  
    277277
    278278static
    279 int sh_html_get_entry ()
     279int sh_html_get_entry (void)
    280280{
    281281  long      retval = SL_ENONE;
     
    390390int comp_arr (const void * ao, const void * bo)
    391391{
    392   sort_arr * a;
    393   sort_arr * b;
     392  const sort_arr * a;
     393  const sort_arr * b;
    394394
    395395  if (ao == NULL && bo == NULL)
     
    400400    return (1);
    401401
    402   a = (sort_arr *) ao;
    403   b = (sort_arr *) bo;
     402  a = (const sort_arr *) ao;
     403  b = (const sort_arr *) bo;
    404404
    405405  return ((-1) * sl_strcmp(a->tim, b->tim));
Note: See TracChangeset for help on using the changeset viewer.