mirror of
https://github.com/siemens-mobile-hacks/vbcc.git
synced 2026-11-25 22:27:36 +00:00
11 lines
144 B
C
11 lines
144 B
C
from)
|
|
{
|
|
DTFTYPE to;
|
|
int i;
|
|
from&=(((DTTTYPE)1)<<BITSIZE)-1;
|
|
for(i=0;i<sizeof(to.a);i++){
|
|
to.a[i]=from&255;
|
|
from>>=8;
|
|
}
|
|
return to;
|
|
}
|