IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11668 for trunk/psLib/src/db


Ignore:
Timestamp:
Feb 6, 2007, 11:36:09 AM (19 years ago)
Author:
jhoblitt
Message:

use 'bool' instead of psBool where-ever possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/db/psDB.c

    r11426 r11668  
    1212 *  @author Joshua Hoblitt
    1313 *
    14  *  @version $Revision: 1.133 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2007-01-30 05:16:28 $
     14 *  @version $Revision: 1.134 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2007-02-06 21:36:09 $
    1616 *
    1717 *  Copyright (C) 2005-2006  Joshua Hoblitt, University of Hawaii
     
    13371337        case PS_DATA_BOOL: {
    13381338                // XXX: ASC HACK NOTE (2005/06/03): set extreme bytes to the
    1339                 // boolean character value.  sizeof(psBool)==4 which triggers
     1339                // boolean character value.  sizeof(bool)==4 which triggers
    13401340                // an endianess issue in the MySQL conversion (reading only 1
    13411341                // byte), on Macintosh hardware (and maybe others?)
     
    20132013            break;
    20142014        default:
    2015             psError(PS_ERR_UNKNOWN, true, "NULL psBool can't be compared with any operator other than '=='");
     2015            psError(PS_ERR_UNKNOWN, true, "NULL bool can't be compared with any operator other than '=='");
    20162016            psFree(itemName);
    20172017            return NULL;
Note: See TracChangeset for help on using the changeset viewer.