libowfat/fmt/fmt_xlonglong.c

11 lines
207 B
C
Raw Normal View History

2003-05-01 20:40:41 +00:00
#include "fmt.h"
2006-11-07 17:56:05 +00:00
size_t fmt_xlonglong(char *dest,unsigned long long i) {
2003-05-01 20:40:41 +00:00
int tmp=0;
if (i>>32) {
tmp=fmt_xlong(dest,i>>32);
if (dest) dest+=tmp;
}
return tmp+fmt_xlong(dest,i&0xffffffff);
}