~alfonsosanchezbeato/ubuntu/utopic/ofono/cell-info

« back to all changes in this revision

Viewing changes to gril/parcel.c

  • Committer: Package Import Robot
  • Author(s): Tony Espy
  • Date: 2013-08-14 17:12:58 UTC
  • mfrom: (28.2.13 ofono)
  • Revision ID: package-import@ubuntu.com-20130814171258-io38ajcmqyr5w82c
Tags: 1.12-0ubuntu7
* debian/rules: add logic to prevent -dbg package from
  being stripped.
* debian/patches/rilmodem-support.patch: cleanup build warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
        for (;;) {
84
84
 
85
85
                DBG("parcel_w_int32(%d): offset = %d, cap = %d, size = %d\n",
86
 
                        val, p->offset, p->capacity, p->size);
 
86
                    val, (int) p->offset, (int) p->capacity, (int) p->size);
87
87
 
88
88
                if (p->offset + sizeof(int32_t) < p->capacity) {
89
89
                        /* There's enough space */
123
123
                size_t padded = PAD_SIZE(len);
124
124
 
125
125
                DBG("parcel_w_string(\"%s\"): len %d offset %d, cap %d, size %d",
126
 
                        str, p->offset, p->capacity, p->size);
 
126
                    str, (int) len, (int) p->offset, (int) p->capacity, (int) p->size);
127
127
                if (p->offset + len < p->capacity) {
128
128
                        /* There's enough space */
129
129
                        memcpy(p->data + p->offset, gs16, gs16_size);
133
133
                        if (padded != len) {
134
134
 
135
135
                                DBG("Writing %d bytes, padded to %d\n",
136
 
                                        len, padded);
 
136
                                    (int) len, (int) padded);
137
137
 
138
138
#if BYTE_ORDER == BIG_ENDIAN
139
139
                                static const uint32_t mask[4] = {