summaryrefslogtreecommitdiff
path: root/libpiano
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-14 09:08:00 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-14 09:08:00 +0200
commitff81d0f867adfa460d761b483beb0646c2b5aa32 (patch)
tree31265196968fa13c66ee3d4ab86fc24e9c64a4be /libpiano
parent35d9d257865103f0c9004908990b27975bfc7696 (diff)
downloadpianobar-ff81d0f867adfa460d761b483beb0646c2b5aa32.tar.gz
pianobar-ff81d0f867adfa460d761b483beb0646c2b5aa32.tar.bz2
pianobar-ff81d0f867adfa460d761b483beb0646c2b5aa32.zip
piano: Fix strange copy&waste mistake
Diffstat (limited to 'libpiano')
-rw-r--r--libpiano/src/crypt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpiano/src/crypt.c b/libpiano/src/crypt.c
index dc5bf7b..8111547 100644
--- a/libpiano/src/crypt.c
+++ b/libpiano/src/crypt.c
@@ -48,8 +48,7 @@ void PianoHexToInts (const char *strHex, unsigned int **retInts,
sscanf (hexInt, "%x", &arrInts[i/8]);
}
*retInts = arrInts;
- /* FIXME: copy & waste */
- *retIntsN = strHexN / 8, sizeof (*arrInts);
+ *retIntsN = strHexN / 8;
}
/* decipher int array; reverse engineered from pandora source