aboutsummaryrefslogtreecommitdiff
path: root/emlink.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-29 12:12:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:04 -0700
commit41645b7415a313b97da19f7bf8e0f48b97bf86d6 (patch)
tree1358c03e2573f4082c7027b0f483551e53eeafee /emlink.py
parent5e360b75ffd58661505c46624b8ccd92aaf13542 (diff)
fix enlarging of merged function tables
Diffstat (limited to 'emlink.py')
-rw-r--r--emlink.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emlink.py b/emlink.py
index b73a24a6..1c8efd57 100644
--- a/emlink.py
+++ b/emlink.py
@@ -248,7 +248,7 @@ class AsmModule():
ret = main + side
size = 2
while size < len(ret): size *= 2
- ret = ret + [0]*(size - len(ret))
+ ret = ret + ['0']*(size - len(ret))
assert len(ret) == size
f_sizes[table] = size
return '[' + ','.join(ret) + ']'