This is an archive of the discontinued LLVM Phabricator instance.

avoid sign-conversion-error in erase
Needs ReviewPublic

Authored by JazzSuite on Jul 18 2023, 5:35 AM.

Details

Reviewers
0-wiz-0
00yk
Summary

As it is now i ran into this problem: "error: conversion to 'std::size_t' {aka 'long long unsigned int'} from 'long long int' may change the sign of the result [-Werror=sign-conversion]"

Diff Detail

Event Timeline

JazzSuite created this revision.Jul 18 2023, 5:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 18 2023, 5:35 AM
JazzSuite requested review of this revision.Jul 18 2023, 5:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 18 2023, 5:35 AM

as described in summary