Google Reader API: Fix incorrect ParseInt
This commit is contained in:
parent
405d4febd9
commit
071e9106a8
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ func getItemIDs(r *http.Request) ([]int64, error) {
|
|||
var itemID int64
|
||||
_, err := fmt.Sscanf(item, EntryIDLong, &itemID)
|
||||
if err != nil {
|
||||
itemID, err = strconv.ParseInt(item, 16, 64)
|
||||
itemID, err = strconv.ParseInt(item, 10, 64)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not parse item: %v", item)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue