Bugzilla – Attachment 68968 Details for
Bug 151488
micq-0.5.0.4-3:array subscript out of range
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Fixes for macros
macro_fixes.diff (text/plain), 733 bytes, created by
Stefan Dirsch
on 2006-02-17 09:26:07 UTC
(
hide
)
Description:
Fixes for macros
Filename:
MIME Type:
Creator:
Stefan Dirsch
Created:
2006-02-17 09:26:07 UTC
Size:
733 bytes
patch
obsolete
>--- include/packet.h.orig 2006-02-17 10:09:25.838722703 +0100 >+++ include/packet.h 2006-02-17 10:14:02.856477449 +0100 >@@ -42,9 +42,9 @@ > > #define CAP_GID_UTF8 "{0946134E-4C7F-11D1-8222-444553540000}" > >-#define HAS_CAP(caps,cap) (((caps)[cap / 32]) & (1UL << (cap % 32))) >-#define SET_CAP(caps,cap) ((caps)[cap / 32]) |= (1UL << (cap % 32)) >-#define CLR_CAP(caps,cap) ((caps)[cap / 32]) &= ~(1UL << (cap % 32)) >+#define HAS_CAP(caps,cap) (((caps)[(cap) / 32]) & (1UL << ((cap) % 32))) >+#define SET_CAP(caps,cap) (((caps)[(cap) / 32]) |= (1UL << ((cap) % 32))) >+#define CLR_CAP(caps,cap) (((caps)[(cap) / 32]) &= ~(1UL << ((cap) % 32))) > > Packet *PacketC (DEBUG0PARAM); > Packet *PacketCreate (str_t str DEBUGPARAM);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 151488
: 68968