Commit b74a58f1 authored by Arne Øslebø's avatar Arne Øslebø
Browse files

signed=>unsigned when storing results

git-svn-id: file:///home/svn/mapi/trunk@217 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 92faf4cf
......@@ -121,7 +121,7 @@ static void ullstr(mapidflib_function_instance_t *i, int fd) {
char str[1024];
res=((mapidflib_result_t*)fhlp_get_res(i))->data;
snprintf(str,1024,"%lld ",*res);
snprintf(str,1024,"%llu ",*res);
write(fd,str,strlen(str));
};
......@@ -139,7 +139,7 @@ static void stats(mapidflib_function_instance_t *i, int fd) {
char str[1024];
res=((mapidflib_result_t*)fhlp_get_res(i))->data;
snprintf(str,1024,"%lld %Lf %Lf %f %f",res->count,res->sum,res->sum2,res->min,res->max);
snprintf(str,1024,"%llu %Lf %Lf %f %f",res->count,res->sum,res->sum2,res->min,res->max);
write(fd,str,strlen(str));
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment