[PR #3591] [MERGED] Fix int64 for 32-bit arch #5465

Closed
opened 2026-10-31 20:47:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3591
Author: @romka777
Created: 11/25/2025
Status: ✅ Merged
Merged: 12/3/2025
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (2)

  • 9201626 fix int64 for 32-bit arch
  • 81e2275 Update web/service/tgbot.go

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 web/service/tgbot.go (+5 -5)

📄 Description

What is the pull request?

Fix error:

X-UI: Failed to parse admin ID from Telegram bot chat ID:strconv.Atoi: parsing "xxx": value out of range

caused by using Atoi to parse int64 on 32-bit arch

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Screenshots


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3591 **Author:** [@romka777](https://github.com/romka777) **Created:** 11/25/2025 **Status:** ✅ Merged **Merged:** 12/3/2025 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`9201626`](https://github.com/MHSanaei/3x-ui/commit/920162644a1db73104dd604742a357154ce5ffd0) fix int64 for 32-bit arch - [`81e2275`](https://github.com/MHSanaei/3x-ui/commit/81e2275fe2f8ff566f52709f3792d9b0a27fecfd) Update web/service/tgbot.go ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `web/service/tgbot.go` (+5 -5) </details> ### 📄 Description ## What is the pull request? Fix error: > X-UI: Failed to parse admin ID from Telegram bot chat ID:strconv.Atoi: parsing "xxx": value out of range caused by using Atoi to parse int64 on 32-bit arch ## Which part of the application is affected by the change? - [ ] Frontend - [x] Backend ## Type of Changes - [x] Bug fix - [ ] New feature - [ ] Refactoring - [ ] Other ## Screenshots <!-- Add screenshots to illustrate the changes --> <!-- Remove this section if it is not applicable. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:09 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5465
No description provided.