~mdw
/
python-cdb
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Debianization patch from upstream.
[python-cdb]
/
src
/
uint32_pack.c
1
#define NO_UINT32_MACROS
2
#include
"uint32.h"
3
4
/* adopted from libowfat 0.9 (GPL) */
5
6
void
uint32_pack
(
char
*
out
,
uint32 in
) {
7
*
out
=
in
&
0xff
;
in
>>=
8
;
8
*++
out
=
in
&
0xff
;
in
>>=
8
;
9
*++
out
=
in
&
0xff
;
in
>>=
8
;
10
*++
out
=
in
&
0xff
;
11
}