Skip to content

pr-git-1399/AtariDreams/fix-type-v10

From: Seija Kijin <doremylover123@gmail.com>

There are many places where "int len = strlen(foo);" is written,
just for len to be passed as a parameter of size_t.

This causes truncation and then expansion
back from int to size_t. This is poor logic.

Signed-off-by: Seija Kijin <doremylover123@gmail.com>

Submitted-As: https://lore.kernel.org/git/pull.1399.v10.git.git.1671825145574.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1399.git.git.1671157765711.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1399.v2.git.git.1671211155128.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1399.v3.git.git.1671228557381.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1399.v4.git.git.1671598870906.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1399.v5.git.git.1671823593187.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1399.v6.git.git.1671824140973.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1399.v7.git.git.1671824426074.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1399.v8.git.git.1671824586607.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1399.v9.git.git.1671824812030.gitgitgadget@gmail.com
Assets 2