~ubuntu-branches/ubuntu/vivid/openipmi/vivid

« back to all changes in this revision

Viewing changes to lib/pet.c

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2006-09-15 17:56:24 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060915175624-ljk0mg3xtcm65tvm
Tags: 2.0.7-1
* new upstream release from 2006-06-08
  Thanks to John Wright <john.wright hp.com> for initial work
  (closes: Bug#380149)
* updated Standards Version
* new binaries openipmicmd, openipmish, rmcp_ping

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
{
74
74
    unsigned char conf_num; /* The number we are interested in. */
75
75
    unsigned char set;      /* The specific selector. */
76
 
    unsigned char data_len; /* The length of the data we are using. */
 
76
    unsigned int  data_len; /* The length of the data we are using. */
77
77
    unsigned char data[22]; /* The actual data. */
78
78
    unsigned char mask[22]; /* The mask bits used to mask what we compare. */
79
79
} parm_check_t;
483
483
    int           pos;
484
484
    parm_check_t  *check;
485
485
    int           check_failed = 0;
486
 
    int           i;
 
486
    unsigned int  i;
487
487
 
488
488
    pet_lock(pet);
489
489
    if (pet->destroyed) {
722
722
    int           pos;
723
723
    parm_check_t  *check;
724
724
    int           check_failed = 0;
725
 
    int           i;
 
725
    unsigned int  i;
726
726
 
727
727
    pet_lock(pet);
728
728
    if (pet->destroyed) {