Changeset 8b1fa2ce80d6ad8f808185535d027616278a1d1d

Show
Ignore:
Timestamp:
11/25/09 18:19:58 (4 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1259173198 +0000
git-parent:

[d2d6c577fc8d7c277c7a56416abb0a94e3ab5a73]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1259173198 +0000
Message:

fix warning #34

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_datastore.c

    rd2d6c57 r8b1fa2c  
    456456    noitL(ds_err, "[%s] stratcon datasource bad (%d): %.*s\n", \ 
    457457          cq->fqdn ? cq->fqdn : "metanode", d->rv, \ 
    458           (pgerr_end - pgerr), pgerr); \ 
     458          (int)(pgerr_end - pgerr), pgerr); \ 
    459459    PQclear(d->res); \ 
    460460    goto bad_row; \ 
     
    478478    if(!pgerr_end) pgerr_end = pgerr + strlen(pgerr); \ 
    479479    noitL(ds_err, "stratcon datasource bad (%d): %.*s time: %llu\n", \ 
    480           d->rv, (pgerr_end - pgerr), pgerr, \ 
     480          d->rv, (int)(pgerr_end - pgerr), pgerr, \ 
    481481          (long long unsigned)whence); \ 
    482482    PQclear(d->res); \