[PR #9972] [MERGED] Fix implicitly narrowing conversion in textBuffer #27829

Open
opened 2026-01-31 09:24:32 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9972
Author: @skyline75489
Created: 4/28/2021
Status: Merged
Merged: 4/28/2021
Merged by: @DHowett

Base: mainHead: patch-1


📝 Commits (1)

  • e0cafc6 Fix implicitly narrowing conversion in textBuffer

📊 Changes

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

View changed files

📝 src/buffer/out/textBuffer.cpp (+3 -3)

📄 Description

Explicitly using SHORT instead of auto to prevent int -> short narrowing.


🔄 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/microsoft/terminal/pull/9972 **Author:** [@skyline75489](https://github.com/skyline75489) **Created:** 4/28/2021 **Status:** ✅ Merged **Merged:** 4/28/2021 **Merged by:** [@DHowett](https://github.com/DHowett) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`e0cafc6`](https://github.com/microsoft/terminal/commit/e0cafc69a38691d6ac06f3bcf8e5b6d814482178) Fix implicitly narrowing conversion in textBuffer ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/buffer/out/textBuffer.cpp` (+3 -3) </details> ### 📄 Description Explicitly using `SHORT` instead of `auto` to prevent `int -> short` narrowing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:24:32 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27829