Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / external / lpsolve / lpsolve-ubsan.patch.0
blob29e9ad3b3c1a37fe63ff40c40612a55172888c4d
1 --- lp_pricePSE.c
2 +++ lp_pricePSE.c
3 @@ -145,7 +147,7 @@
4  
5    /* Store the active/current pricing type */
6    if(isdual == AUTOMATIC)
7 -    isdual = (MYBOOL) lp->edgeVector[0];
8 +    isdual = lp->edgeVector[0] != 0.0;
9    else
10      lp->edgeVector[0] = isdual;