Browse Source

make sure to handle raw int's

pull/16/head
Brett Langdon 11 years ago
parent
commit
f1c3c4113a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      primative.go

+ 3
- 0
primative.go View File

@ -71,6 +71,9 @@ func (primative *Primative) UpdateValue(value interface{}) error {
primative.valueType = BOOLEAN
case float64:
primative.valueType = FLOAT
case int:
value = int64(value.(int))
primative.valueType = INTEGER
case int64:
primative.valueType = INTEGER
case nil:


Loading…
Cancel
Save