```
src/tool_operate.c:581:50: error: conversion to 'off_t {aka long int}' from 'curl_off_t {aka long long int}' may alter its value [-Werror=conversion]
         if(toolx_ftruncate(fileno(outs->stream), outs->init)) {
                                                  ^~~~
```
https://github.com/curl/curl/actions/runs/27428204937/job/81071486140
This commit is contained in:
Viktor Szakats 2026-06-12 18:25:20 +02:00
parent 0b30ffbd8b
commit cf0fa714f6
No known key found for this signature in database

View file

@ -102,6 +102,8 @@ int toolx_ftruncate_win32(int fd, curl_off_t where);
#elif defined(__DJGPP__)
int toolx_ftruncate_djgpp(int fd, curl_off_t where);
#define toolx_ftruncate toolx_ftruncate_djgpp
#elif defined(__AMIGA__)
#define toolx_ftruncate(f, o) ftruncate(f, (off_t)(o))
#else
#define toolx_ftruncate ftruncate
#endif