Skip to content

Fixes typemissmatch warinigs from msvc

Sören Krecker git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesIn review
  2. v14 patches 12 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4add-patch: Fix type missmatch rom msvcadd-patch.c gettext.h git-compat-util.h+38 -233 replies
2/4date.c: Fix type missmatch warings from msvcdate.c+3 -32 replies
3/4apply.c : Fix type missmatch warings from msvcapply.c apply.h+22 -211 reply
4/4commit.c: Fix type missmatch warings from msvccommit.c+6 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/4] Fixes typemissmatch warinigs from msvc

Thanks for your replays. I try to improve this series and add under and overflow checks. To improve handling Platform specific stuff I add a macro for conversion from a string to a size_t.

Best regards

Sören Krecker

Sören Krecker (4):
add-patch: Fix type missmatch rom msvc
date.c: Fix type missmatch warings from msvc
apply.c : Fix type missmatch warings from msvc
commit.c: Fix type missmatch warings from msvc

 add-patch.c       | 53 +++++++++++++++++++++++++++--------------------
 apply.c           | 37 +++++++++++++++++----------------
 apply.h           |  6 +++---
 commit.c          | 12 +++++------
 date.c            |  6 +++---
 gettext.h         |  2 +-
 git-compat-util.h |  6 ++++++
 7 files changed, 69 insertions(+), 53 deletions(-)

base-commit: 1b4e9a5f8b5f048972c21fe8acafe0404096f694

Signature · 1 line
2.39.5