Share

libfat

Tracker: Patches

5 casts to different pointer sizes - ID: 1882239
Last Update: Attachment added ( codewookie )

fusefat.c:230: warning: cast to pointer from integer of different size

caused by F=(File_t *)fi->fh;

sizeof(fh) == 8, and sizeof(F) == 4 (on i386). The fix is easy... cast it
to long. I'm not aware of any arch's where sizeof(long) != sizeof(void
*).

Patch below.


Jason Wright ( codewookie ) - 2008-01-29 23:34

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
cast.patch patch Download

Change ( 1 )

Field Old Value Date By
File Added 264225: cast.patch 2008-01-29 23:34 codewookie