diff options
author | Cy Schubert <cy@FreeBSD.org> | 2015-02-05 20:53:33 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2015-02-05 20:53:33 +0000 |
commit | f7cba3a80d9ebefc57776fffd17a4ae68f72e494 (patch) | |
tree | dc1c5074828f0c5fafe2fb8f5599339dfdc5bc97 /libparse/data_mbg.c | |
parent | 44a728f815af203cd7a91db83b06325818433463 (diff) |
Notes
Diffstat (limited to 'libparse/data_mbg.c')
-rw-r--r-- | libparse/data_mbg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libparse/data_mbg.c b/libparse/data_mbg.c index 97bef35c4479..23ca75509180 100644 --- a/libparse/data_mbg.c +++ b/libparse/data_mbg.c @@ -266,8 +266,8 @@ mbg_tm_str( tmp->year, tmp->month, tmp->mday, tmp->hour, tmp->minute, tmp->second, tmp->frac, (tmp->offs_from_utc < 0) ? '-' : '+', - abs(tmp->offs_from_utc) / 3600, - (abs(tmp->offs_from_utc) / 60) % 60); + abs((int)tmp->offs_from_utc) / 3600, + (abs((int)tmp->offs_from_utc) / 60) % 60); *buffpp += strlen(*buffpp); mbg_time_status_str(buffpp, tmp->status, size - (*buffpp - s)); @@ -383,7 +383,7 @@ get_mbg_comparam( COM_PARM *comparamp ) { - int i; + size_t i; comparamp->baud_rate = get_lsb_long(buffpp); for (i = 0; i < sizeof(comparamp->framing); i++) |