diff options
author | Michiel Van Der Kolk <not.valid@email.address> | 2005-04-24 12:38:01 +0000 |
---|---|---|
committer | Michiel Van Der Kolk <not.valid@email.address> | 2005-04-24 12:38:01 +0000 |
commit | 438366ce3adae4c944f0a5de06a1e2066325205e (patch) | |
tree | e16be2e177e279d18dfe0051cdbfbd1cf1a5aa4d /tools/songdb.pl | |
parent | 7aa75e1dc0f730cf67e6c58621e7cb687c3048c9 (diff) | |
download | rockbox-438366ce3adae4c944f0a5de06a1e2066325205e.tar.gz rockbox-438366ce3adae4c944f0a5de06a1e2066325205e.tar.bz2 rockbox-438366ce3adae4c944f0a5de06a1e2066325205e.zip |
Proper dumpint function..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6336 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/songdb.pl')
-rwxr-xr-x | tools/songdb.pl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/songdb.pl b/tools/songdb.pl index 245456079b..2e34360f5a 100755 --- a/tools/songdb.pl +++ b/tools/songdb.pl @@ -294,11 +294,7 @@ sub dumpint { # print "int: $num\n"; - printf DB ("%c%c%c%c", - $num>>24, - ($num&0xff0000)>>16, - ($num&0xff00)>>8, - ($num&0xff)); + print DB pack "N", $num; } if (!scalar keys %entries) { |