apache / apache/nuttx

[BUG] <title>quot and rem in lldiv_t are of the wrong type

Open
#14,998 1 comment 0 reactions 0 assignees View on GitHub
Arch: arm Arch: mips Area: Posix OS: Other Type: Bug
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### Description / Steps to reproduce the issue

The 'quot' and 'rem' members of the lldiv_s in stdlib.h are of type 'long' when they should be of type 'long long'.

### On which OS does this issue occur?

[OS: Other]

### What is the version of your OS?

RHEL 7.x

### NuttX Version

master/all

### Issue Architecture

[Arch: arm], [Arch: mips]

### Issue Area

[Area: Posix]

### Verification

- [X] I have verified before submitting the report.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.