llama : suppress unary minus operator warning (#8448)
This commit updates the _try_copy lambda and moves the unary minus operator to after the cast to int32_t. The motivation for this that currently the following warning is generated on windows: ```console llama.cpp\src\llama.cpp(21147,30): warning C4146: unary minus operator applied to unsigned type, result still unsigned ```
D
Daniel Bevenius committed
f53226245f421bd01b47cce43a47e791de82c636
Parent: c3ebcfa
Committed by GitHub <noreply@github.com>
on 7/12/2024, 9:05:21 AM