Skip to content

Commit

Permalink
Merge pull request #65 from juanlucasrey/clang_complains2
Browse files Browse the repository at this point in the history
remove Clang warnings (-Wpointer-sign)
  • Loading branch information
TimSiebert1 authored Nov 4, 2024
2 parents ce8c63a + 4cd21b7 commit 8d9cdf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ADOL-C/src/uni5_for.c
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ int hov_forward(
# define ADOLC_EXT_FCT_IARR_COMPLETE \
zos_forward_iArr(iArrLength, iArr, n, edfct->dp_x, m, edfct->dp_y)
# define ADOLC_EXT_FCT_V2_COMPLETE \
zos_forward(iArrLength, iArr, nin, nout, insz, edfct2->x, outsz, edfct2->y, edfct2->context)
zos_forward(iArrLength, iArr, nin, nout, (int*)insz, edfct2->x, (int*)outsz, edfct2->y, edfct2->context)
# define ADOLC_EXT_COPY_TAYLORS(dest,src)
#endif
/* FOS_FORWARD */
Expand All @@ -994,7 +994,7 @@ int hov_forward(
# define ADOLC_EXT_POINTER_X edfct->dp_X
# define ADOLC_EXT_POINTER_Y edfct->dp_Y
# define ADOLC_EXT_FCT_V2_COMPLETE \
fos_forward(iArrLength, iArr, nin, nout, insz, edfct2->x, edfct2->xp, outsz, edfct2->y, edfct2->yp, edfct2->context)
fos_forward(iArrLength, iArr, nin, nout, (int*)insz, edfct2->x, edfct2->xp, (int*)outsz, edfct2->y, edfct2->yp, edfct2->context)
# define ADOLC_EXT_V2_POINTER_X edfct2->xp
# define ADOLC_EXT_V2_POINTER_Y edfct2->yp
# define ADOLC_EXT_COPY_TAYLORS(dest,src) dest=src
Expand All @@ -1012,7 +1012,7 @@ int hov_forward(
# define ADOLC_EXT_POINTER_X edfct->dpp_X
# define ADOLC_EXT_POINTER_Y edfct->dpp_Y
# define ADOLC_EXT_FCT_V2_COMPLETE \
fov_forward(iArrLength, iArr, nin, nout, insz, edfct2->x, p, edfct2->Xp, outsz, edfct2->y, edfct2->Yp, edfct2->context)
fov_forward(iArrLength, iArr, nin, nout, (int*)insz, edfct2->x, p, edfct2->Xp, (int*)outsz, edfct2->y, edfct2->Yp, edfct2->context)
# define ADOLC_EXT_V2_POINTER_X edfct2->Xp
# define ADOLC_EXT_V2_POINTER_Y edfct2->Yp
# define ADOLC_EXT_COPY_TAYLORS(dest,src) dest=src
Expand Down

0 comments on commit 8d9cdf7

Please sign in to comment.