IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 31, 2007, 4:40:05 PM (19 years ago)
Author:
jhoblitt
Message:

required option update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pxfault.c

    r11023 r13580  
    2626#include "pxtools.h"
    2727
    28 bool pxSetFaultCode(psDB *dbh, const char *tableName, psMetadata *where, psS8 code)
     28bool pxSetFaultCode(psDB *dbh, const char *tableName, psMetadata *where, psS16 code)
    2929{
    3030    PS_ASSERT_PTR_NON_NULL(dbh, false);
     
    4343    // update the database
    4444    psMetadata *values = psMetadataAlloc();
    45     if (!psMetadataAddS8(values, PS_LIST_HEAD, "fault", 0, NULL, code)) {
     45    if (!psMetadataAddS16(values, PS_LIST_HEAD, "fault", 0, NULL, code)) {
    4646        psError(PS_ERR_UNKNOWN, false, "failed to add metadata item fault");
    4747        psFree(values);
Note: See TracChangeset for help on using the changeset viewer.