summaryrefslogtreecommitdiffstats
path: root/qarsh_packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'qarsh_packet.c')
-rw-r--r--qarsh_packet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/qarsh_packet.c b/qarsh_packet.c
index f3f6ebb..6ba6311 100644
--- a/qarsh_packet.c
+++ b/qarsh_packet.c
@@ -496,7 +496,7 @@ void string_qp_recvfile(xmlNodePtr node, struct qa_packet *qp)
snprintf(tmpstr, 32, "%d", qp->qp_recvfile.qp_if_port);
xmlAddChild(node, make_param("if_port", tmpstr));
- snprintf(tmpstr, 32, "%lld", qp->qp_recvfile.qp_count);
+ snprintf(tmpstr, 32, "%lld", (long long int)qp->qp_recvfile.qp_count);
xmlAddChild(node, make_param("count", tmpstr));
snprintf(tmpstr, 32, "%d", qp->qp_recvfile.qp_mode);
@@ -523,7 +523,7 @@ void string_qp_rstat(xmlNodePtr node, struct qa_packet *qp)
xmlAddChild(node, make_param("st_uid", tmpstr));
snprintf(tmpstr, 32, "%d", qp->qp_rstat.qp_st_gid);
xmlAddChild(node, make_param("st_gid", tmpstr));
- snprintf(tmpstr, 32, "%lld", qp->qp_rstat.qp_st_size);
+ snprintf(tmpstr, 32, "%lld", (long long int)qp->qp_rstat.qp_st_size);
xmlAddChild(node, make_param("st_size", tmpstr));
}
@@ -831,7 +831,7 @@ dump_qp_recvfile(struct qa_packet *qp)
{
printf("\tpath: %s\n", qp->qp_recvfile.qp_path);
printf("\tif_port: %d\n", qp->qp_recvfile.qp_if_port);
- printf("\tcount: %lld\n", qp->qp_recvfile.qp_count);
+ printf("\tcount: %lld\n", (long long int)qp->qp_recvfile.qp_count);
printf("\tmode: %o\n", qp->qp_recvfile.qp_mode);
}
@@ -849,7 +849,7 @@ dump_qp_rstat(struct qa_packet *qp)
printf("\tst_mode: %o\n", qp->qp_rstat.qp_st_mode);
printf("\tst_uid: %d\n", qp->qp_rstat.qp_st_uid);
printf("\tst_gid: %d\n", qp->qp_rstat.qp_st_gid);
- printf("\tst_size: %lld\n", qp->qp_rstat.qp_st_size);
+ printf("\tst_size: %lld\n", (long long int)qp->qp_rstat.qp_st_size);
}
void