changeset 247:d8b5ff5c4ef9 2.x

Fixed LWEX stack size setting bug
author lost
date Thu, 19 Nov 2009 02:48:36 +0000
parents c602f6eca3ed
children e8d70b95ec41
files lwlink/script.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwlink/script.c	Thu Nov 19 02:44:11 2009 +0000
+++ b/lwlink/script.c	Thu Nov 19 02:48:36 2009 +0000
@@ -196,7 +196,7 @@
 		{
 			// stack size for targets that support it
 			// parse the hex number and stow it
-			linkscript.padsize = strtol(ptr, NULL, 16);
+			linkscript.stacksize = strtol(ptr, NULL, 16);
 			if (linkscript.stacksize < 0)
 				linkscript.stacksize = 0x100;
 		}