Fixed missing "unsigned long" handling in ExpressionAssignInt(). Fixes issue 91 reported by duncan.forster
git-svn-id: http://picoc.googlecode.com/svn/trunk@472 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
4ecfc1c66b
commit
dc0b17c1a4
|
@ -228,6 +228,7 @@ long ExpressionAssignInt(struct ParseState *Parser, struct Value *DestValue, lon
|
|||
case TypeLong: DestValue->Val->LongInteger = (long)FromInt; break;
|
||||
case TypeUnsignedInt: DestValue->Val->UnsignedInteger = (unsigned int)FromInt; break;
|
||||
case TypeUnsignedShort: DestValue->Val->UnsignedShortInteger = (unsigned short)FromInt; break;
|
||||
case TypeUnsignedLong: DestValue->Val->UnsignedLongInteger = (unsigned long)FromInt; break;
|
||||
default: break;
|
||||
}
|
||||
return Result;
|
||||
|
|
Loading…
Reference in a new issue