Skip to content

Values may overflow in SUNHashMap on Windows #249

Closed
@balos1

Description

@balos1

See warnings in https://github.com/LLNL/sundials/actions/runs/3861321674/jobs/6582228224.

D:/a/sundials/sundials/src/sundials/sundials_hashmap.h:26:48: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '14695981039346656037' to '2216829733' [-Woverflow]
   26 | static const unsigned long HASH_PRIME        = 14695981039346656037U;b

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions