projects
/
framework
/
uifw
/
xorg
/
lib
/
libice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upload tizen2.0 source
[framework/uifw/xorg/lib/libice.git]
/
include
/
X11
/
ICE
/
ICEmsg.h
diff --git
a/include/X11/ICE/ICEmsg.h
b/include/X11/ICE/ICEmsg.h
old mode 100755
(executable)
new mode 100644
(file)
index
6a60f1c
..
8ca3e5f
--- a/
include/X11/ICE/ICEmsg.h
+++ b/
include/X11/ICE/ICEmsg.h
@@
-217,15
+217,15
@@
extern IcePaAuthStatus _IcePaMagicCookie1Proc (
/*
* Write pad bytes. Used to force 32 or 64 bit alignment.
/*
* Write pad bytes. Used to force 32 or 64 bit alignment.
- * A maxium of 7 pad bytes can be specified.
+ * A maxi
m
um of 7 pad bytes can be specified.
*/
#define IceWritePad(_iceConn, _bytes) \
{ \
if ((_iceConn->outbufptr + (_bytes)) > _iceConn->outbufmax) \
{ \
*/
#define IceWritePad(_iceConn, _bytes) \
{ \
if ((_iceConn->outbufptr + (_bytes)) > _iceConn->outbufmax) \
{ \
- char _dummy[7]; \
- IceFlush (_iceConn); \
+ char _dummy[7]
= { 0 }
; \
+
IceFlush (_iceConn); \
_IceWrite (_iceConn, (unsigned long) (_bytes), _dummy); \
} \
else \
_IceWrite (_iceConn, (unsigned long) (_bytes), _dummy); \
} \
else \