summaryrefslogtreecommitdiff
path: root/cdbmake_pack.c
blob: 04b5f5bd7d81a6c06e78ef2d1305e761078c005b (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "cdbmake.h"

void cdbmake_pack(buf,num)
unsigned char *buf;
uint32 num;
{
  *buf++ = num; num >>= 8;
  *buf++ = num; num >>= 8;
  *buf++ = num; num >>= 8;
  *buf = num;
}