Skip to content

Commit

Permalink
Fixed missing "unsigned long" handling in ExpressionAssignInt(). Fixe…
Browse files Browse the repository at this point in the history
…s issue 91 reported by duncan.forster

git-svn-id: http://picoc.googlecode.com/svn/trunk@472 21eae674-98b7-11dd-bd71-f92a316d2d60
  • Loading branch information
zik.saleeba committed Jul 27, 2010
1 parent 4ecfc1c commit dc0b17c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions expression.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dc0b17c

Please sign in to comment.