summaryrefslogtreecommitdiff
path: root/firmware/common/format.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-07-18 12:42:47 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-07-18 12:42:47 +0000
commit63011c67438204ccdb29322b6f324c17e20fc0e1 (patch)
tree21b39ce39e22ba0cc666c80d48294b3e85f4f56e /firmware/common/format.c
parent3cd1968cbc30d32b6d883792c841c897c872860a (diff)
downloadrockbox-63011c67438204ccdb29322b6f324c17e20fc0e1.tar.gz
rockbox-63011c67438204ccdb29322b6f324c17e20fc0e1.zip
Revert accidental commit of "%z" support in r26071 (the implementation assumed size_t==long, which is not always the case in hosted environments)
Remove four remaining uses of %z, three of which were in DEBUGF git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27479 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/format.c')
-rw-r--r--firmware/common/format.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/common/format.c b/firmware/common/format.c
index 8b9556605f..987af417da 100644
--- a/firmware/common/format.c
+++ b/firmware/common/format.c
@@ -122,7 +122,6 @@ int format(
122 break; 122 break;
123 123
124 case 'l': 124 case 'l':
125 case 'z': /* assume sizeof(size_t) == sizeof(long) */
126 ch = *fmt++; 125 ch = *fmt++;
127 switch(ch) { 126 switch(ch) {
128 case 'x': 127 case 'x':