summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-04-24 12:38:01 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-04-24 12:38:01 +0000
commit438366ce3adae4c944f0a5de06a1e2066325205e (patch)
treee16be2e177e279d18dfe0051cdbfbd1cf1a5aa4d
parent7aa75e1dc0f730cf67e6c58621e7cb687c3048c9 (diff)
downloadrockbox-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
-rwxr-xr-xtools/songdb.pl6
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) {