aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-nt.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-03-19 01:33:12 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-03-19 01:33:12 +0000
commit262f3ee3f908285a6e979a4b2d244f1cc10ca06f (patch)
tree7db225815d7db9d4e54f78db6c066ba4f487321b /epan/dissectors/packet-dcerpc-nt.h
parentbc9f3abeabbbaa584e5901f1fc85deffb093eb55 (diff)
Squelch some compiler warnings.
Use "#if 0"/#endif rather than commenting out some code; that also means we don't have to use "/ *" and "* /" in the #if'ed-out code, so don't. Clean up indentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32239 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-nt.h')
-rw-r--r--epan/dissectors/packet-dcerpc-nt.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.h b/epan/dissectors/packet-dcerpc-nt.h
index 8b48b27d90..d374933a3e 100644
--- a/epan/dissectors/packet-dcerpc-nt.h
+++ b/epan/dissectors/packet-dcerpc-nt.h
@@ -35,7 +35,7 @@ extern const value_string platform_id_vals[];
#define ALIGN_TO_8_BYTES \
{ dcerpc_info *xzdi; \
- xzdi=pinfo->private_data; \
+ xzdi=(dcerpc_info *)pinfo->private_data; \
if(!xzdi->conformant_run) { \
if(offset&0x07) { \
offset=(offset&0xfffffff8)+8; \
@@ -44,7 +44,7 @@ extern const value_string platform_id_vals[];
}
#define ALIGN_TO_4_BYTES \
{ dcerpc_info *xzdi; \
- xzdi=pinfo->private_data; \
+ xzdi=(dcerpc_info *)pinfo->private_data; \
if(!xzdi->conformant_run) { \
if(offset&0x03) { \
offset=(offset&0xfffffffc)+4; \
@@ -53,7 +53,7 @@ extern const value_string platform_id_vals[];
}
#define ALIGN_TO_2_BYTES \
{ dcerpc_info *xzdi; \
- xzdi=pinfo->private_data; \
+ xzdi=(dcerpc_info *)pinfo->private_data; \
if(!xzdi->conformant_run) { \
if(offset&0x01) { \
offset=(offset&0xfffffffe)+2; \
@@ -65,7 +65,7 @@ extern const value_string platform_id_vals[];
#define ALIGN_TO_4_OR_8_BYTES \
{ dcerpc_info *xzdi2; \
- xzdi2=pinfo->private_data; \
+ xzdi2=(dcerpc_info *)pinfo->private_data; \
if (xzdi2->call_data->flags & DCERPC_IS_NDR64) { \
ALIGN_TO_8_BYTES; \
} else { \
@@ -77,7 +77,7 @@ extern const value_string platform_id_vals[];
#define ALIGN_TO_2_OR_4_BYTES \
{ dcerpc_info *xzdi2; \
- xzdi2=pinfo->private_data; \
+ xzdi2=(dcerpc_info *)pinfo->private_data; \
if (xzdi2->call_data->flags & DCERPC_IS_NDR64) { \
ALIGN_TO_4_BYTES; \
} else { \