X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2FX11%2FICE%2FICEmsg.h;h=8ca3e5f228099abbd303fe81594a85c72d104812;hb=HEAD;hp=6a60f1cb77eaea28534c1fde3afb92e6def13aed;hpb=fb6a490bfa8d88706cac5ee7bafaadcb165d009b;p=framework%2Fuifw%2Fxorg%2Flib%2Flibice.git diff --git a/include/X11/ICE/ICEmsg.h b/include/X11/ICE/ICEmsg.h old mode 100755 new mode 100644 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. - * A maxium of 7 pad bytes can be specified. + * A maximum of 7 pad bytes can be specified. */ #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 \