mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
1b1e9917ad
* gnu/packages/dotnet.scm (pnet-git): New variable. * gnu/packages/patches/pnet-fix-line-number-info.patch, gnu/packages/patches/pnet-fix-off-by-one.patch, gnu/packages/patches/pnet-newer-libgc-fix.patch, gnu/packages/patches/pnet-newer-texinfo-fix.patch: New patches. * gnu/local.mk (dist_patch_DATA): Register new patches. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: Ic3e93dbaab24eb73fe9a35f711a710eed6a823a1
13 lines
504 B
Diff
13 lines
504 B
Diff
diff --git a/codegen/cg_genattr.c b/codegen/cg_genattr.c
|
|
index 535852da..c3acc0dc 100644
|
|
--- a/codegen/cg_genattr.c
|
|
+++ b/codegen/cg_genattr.c
|
|
@@ -1532,7 +1532,7 @@ static int MarshalAsAttribute(ILGenInfo *info,
|
|
else
|
|
{
|
|
sizeParamIndex = attributeInfo->namedArgs[currentNamedArg].evalValue.un.i4Value;
|
|
- if(sizeParamIndex <= 0)
|
|
+ if(sizeParamIndex < 0)
|
|
{
|
|
CGErrorForNode(info, attributeInfo->namedArgs[currentNamedArg].node,
|
|
_("The size parameter index must be >= 0"));
|