From 071e9106a818ee75ff7ea14b9338421ba12701c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sun, 31 Jul 2022 17:04:02 -0700 Subject: [PATCH] Google Reader API: Fix incorrect ParseInt --- googlereader/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googlereader/handler.go b/googlereader/handler.go index 002b7ca8..6506ec29 100644 --- a/googlereader/handler.go +++ b/googlereader/handler.go @@ -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) }