32 bit build failure (smb, narrowing)

Rene Engelhard rene at debian.org
Fri Mar 8 07:38:36 UTC 2024


Hi,

Am 08.03.24 um 08:23 schrieb Rene Engelhard:
> Can you have a look, please? I had a brief one, but that is a simple 
> define which shoudln't break. Then the switch does
>          switch (aFileStatFs.f_type) {
> which uses
>      struct statfs aFileStatFs;
> 
> So it probably is a type difference in the kernel struct already for 32 
> vs 64 bit?

Obviously I am too blind, there is even a if comparison before:

     /* get filesystem info */
     struct statfs aFileStatFs;
     if (statfs(path.getStr(), &aFileStatFs) < 0)

But as gcc complains about the (usage of the) define I don't guess 
that's it?

Regards,

Rene


More information about the LibreOffice mailing list