Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106954155
D10019.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
473 B
Referenced Files
None
Subscribers
None
D10019.diff
View Options
Index: head/sys/kern/kern_sendfile.c
===================================================================
--- head/sys/kern/kern_sendfile.c
+++ head/sys/kern/kern_sendfile.c
@@ -207,12 +207,12 @@
/*
* Helper function to get offset within object for i page.
*/
-static inline vm_offset_t
+static inline vm_ooffset_t
vmoff(int i, off_t off)
{
if (i == 0)
- return ((vm_offset_t)off);
+ return ((vm_ooffset_t)off);
return (trunc_page(off + i * PAGE_SIZE));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 12:37 AM (4 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15727858
Default Alt Text
D10019.diff (473 B)
Attached To
Mode
D10019: vmoff()'s return type is too narrow
Attached
Detach File
Event Timeline
Log In to Comment