Show
Ignore:
Timestamp:
01/10/10 18:39:28 (2 years ago)
Author:
CHDKLover
Message:

Aktualisierung auf Rev. 864, 865, 866, 867 offizieller Trunk
*  http://tools.assembla.com/chdk/changeset/864/trunk
*  http://tools.assembla.com/chdk/changeset/865/trunk
*  http://tools.assembla.com/chdk/changeset/866/trunk
*  http://tools.assembla.com/chdk/changeset/867/trunk
ixus90_sd790 hinzugefügt
strtoul hinzugefügt
fix: LUA Hexzahlenbehandlung
In lua können jetzt beliebige Funktionspointer aufgerufen werden

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/lua/lbaselib.c

    r14 r217  
    9797    unsigned long n; 
    9898    luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); 
    99     n = strtol(s1, &s2, base); 
     99    n = strtoul(s1, &s2, base); 
    100100    if (s1 != s2) {  /* at least one valid digit? */ 
    101101      while (isspace((unsigned char)(*s2))) s2++;  /* skip trailing spaces */