Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144331761
D39593.id120388.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
541 B
Referenced Files
None
Subscribers
None
D39593.id120388.diff
View Options
diff --git a/sys/sys/filedesc.h b/sys/sys/filedesc.h
--- a/sys/sys/filedesc.h
+++ b/sys/sys/filedesc.h
@@ -303,7 +303,7 @@
FILEDESC_LOCK_ASSERT(fdp);
- if (__predict_false((u_int)fd >= fdp->fd_nfiles))
+ if (__predict_false((u_int)fd >= (u_int)fdp->fd_nfiles))
return (NULL);
return (fdp->fd_ofiles[fd].fde_file);
@@ -316,7 +316,7 @@
FILEDESC_LOCK_ASSERT(fdp);
- if (__predict_false((u_int)fd >= fdp->fd_nfiles))
+ if (__predict_false((u_int)fd >= (u_int)fdp->fd_nfiles))
return (NULL);
fde = &fdp->fd_ofiles[fd];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 9:36 PM (1 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28471348
Default Alt Text
D39593.id120388.diff (541 B)
Attached To
Mode
D39593: Quiet compiler warnings for fget_noref and fdget_noref
Attached
Detach File
Event Timeline
Log In to Comment