{"id":424,"date":"2008-01-28T06:33:43","date_gmt":"2008-01-28T06:33:43","guid":{"rendered":"http:\/\/pchero21.com\/?p=424"},"modified":"2008-01-28T06:33:43","modified_gmt":"2008-01-28T06:33:43","slug":"%ec%9c%88%eb%8f%84%ec%9a%b0-%eb%84%a4%ed%8a%b8%ec%9b%8c%ed%81%ac-%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%98%eb%b0%8d-%ec%a4%91-%eb%b0%9c%ec%83%9d%ed%95%9c-warning-c4761","status":"publish","type":"post","link":"http:\/\/pchero21.com\/?p=424","title":{"rendered":"\uc708\ub3c4\uc6b0 \ub124\ud2b8\uc6cc\ud06c \ud504\ub85c\uadf8\ub798\ubc0d \uc911 \ubc1c\uc0dd\ud55c warning C4761"},"content":{"rendered":"<p>&nbsp;\uc708\ub3c4\uc6b0\uc5d0\uc11c \ub124\ud2b8\uc6cc\ud06c \ud504\ub85c\uadf8\ub7a8 \uc18c\uc2a4\ub97c \ucef4\ud30c\uc77c \ud558\ub358 \uc911 \uc774\uc0c1\ud55c warning \uc744 \ubc1c\uacac\ud558\uc600\ub2e4.<\/p>\n<p><STRONG><br \/>\n<BLOCKQUOTE><STRONG>C:Documents and SettingsOwnerMy DocumentsNetworkhelloworld_client_winhelloworld_client_win.c(34) : warning C4761: integral size mismatch in argument; conversion supplied<\/STRONG><\/BLOCKQUOTE><\/STRONG>&nbsp;\ubb38\uc81c\uc758 \uc18c\uc2a4 \ubd80\ubd84\uc740 \ub2e4\uc74c\uc774\uc5c8\ub2e4.<br \/><STRONG><br \/>\n<BLOCKQUOTE><STRONG>servAddr.sin_port = htons(atoi(argv[2]));<\/STRONG><\/BLOCKQUOTE><\/STRONG>&nbsp;\ubcf4\uae30\uc5d0\ub294 \ubb38\uc81c\uac00 \uc5c6\ub294 \ubd80\ubd84\uc774\ub2e4. \uc815\uc0c1\uc791\ub3d9\ud558\ub294 \uc18c\uc2a4\uc600\ub2e4.(..\ub9ac\ub205\uc2a4\uc5d0\uc11c \ud655\uc778)<\/p>\n<p>&nbsp;\ubb3c\ub860 warning \uc744 \ubb34\uc2dc\ud558\uace0 \ub9c1\ud06c\ub97c \ud558\uc5ec\ub3c4 \ubb38\uc81c\uc5c6\uc774 \ud504\ub85c\uadf8\ub7a8\uc744 \uc798 \uc2e4\ud589\ub418\uc5c8\ub2e4.<\/p>\n<p>&nbsp;\uadf8\ub807\ub2e4\uba74 \ubb34\uc5c7\uc774 \ubb38\uc81c\uc77c\uae4c&#8230;.\uba3c\uc800 C4761 \uc5d0 \uad00\ud55c \ub0b4\uc6a9\uc744 \ucc3e\uc544 \ubcf4\uc558\ub2e4.<\/p>\n<p>&nbsp;\ub2e4\uc74c\uacfc \uac19\uc740 \ub0b4\uc6a9\uc744 \ucc3e\uc744 \uc218 \uc788\uc5c8\ub2e4.<br \/>\n<DIV class=title><br \/>\n<BLOCKQUOTE><br \/>\n<DIV class=title>Compiler Warning (level 1) C4761<\/DIV><!--Content type: HTML. Transform: vs62mtps.xslt.--><A tabIndex=0 name=c4761><!----><\/A><br \/>\n<P class=dt><B>integral size mismatch in argument : conversion supplied<\/B><\/P><br \/>\n<P>The base types of the actual and formal parameters of a function were different.<\/P><br \/>\n<P>The compiler converted the actual parameter to the type of the formal parameter.<\/P><\/BLOCKQUOTE>&nbsp;\uad00\ub828 \ub9c1\ud06c : <A href=\"http:\/\/msdn2.microsoft.com\/en-us\/library\/aa733937(VS.60).aspx\" target=_blank>http:\/\/msdn2.microsoft.com\/en-us\/library\/aa733937(VS.60).aspx<\/A><\/p>\n<p>&nbsp;\ub0b4\uc6a9\uc778\uc989 \uc778\uc790\uc758 \uc0ac\uc774\uc988\uac00 \ub9de\uc9c0 \uc54a\ub294\ub2e4\ub294 \uac83\uc774\ub2e4.<\/p>\n<p>&nbsp;\ub2e4\uc2dc \uc18c\uc2a4\ub97c \uc0b4\ud3b4\ubcf4\ub2e4\uac00 \ub2e4\uc74c\uc744 \ubc1c\uacac\ud558\uc600\ub2e4.<\/p>\n<p><STRONG><br \/>\n<BLOCKQUOTE><STRONG>unsigned short__cdecl htons(unsigned short)<\/STRONG><\/BLOCKQUOTE><\/STRONG>&nbsp;\uc989 \uc778\uc790\uac12\uc73c\ub85c short \ud615\uc774 \uc640\uc57c \ud558\ub294 \uac83\uc774\ub2e4. \ud558\uc9c0\ub9cc atoi() \ud568\uc218\ub294 \ub9ac\ud134\ud615\uc774 int \uac12\uc774\ubbc0\ub85c \uc5ec\uae30\uc11c \ud615\ubcc0\ud658\uc758 \ubb38\uc81c\uac00 \uc0dd\uae34 \uac83\uc774\ub2e4.<\/p>\n<p>&nbsp;\ub2e4\uc74c\uacfc \uac19\uc774 \uace0\uccd0\uc8fc\ub2c8 warning \uc774 \uc0ac\ub77c\uc9c0\uace0 \uae54\ub054\ud55c \ucef4\ud30c\uc77c\uc774 \ub418\uc5c8\ub2e4.<\/p>\n<p><STRONG><br \/>\n<BLOCKQUOTE><STRONG>servAddr.sin_port = htons((unsigned short)atoi(argv[2]));<\/STRONG><\/STRONG><\/BLOCKQUOTE><\/DIV><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;\uc708\ub3c4\uc6b0\uc5d0\uc11c \ub124\ud2b8\uc6cc\ud06c \ud504\ub85c\uadf8\ub7a8 \uc18c\uc2a4\ub97c \ucef4\ud30c\uc77c \ud558\ub358 \uc911 \uc774\uc0c1\ud55c warning \uc744 \ubc1c\uacac\ud558\uc600\ub2e4. C:Documents and SettingsOwnerMy DocumentsNetworkhelloworld_client_winhelloworld_client_win.c(34) : warning C4761: integral size mismatch in argument; conversion supplied&nbsp;\ubb38\uc81c\uc758 \uc18c\uc2a4 \ubd80\ubd84\uc740 \ub2e4\uc74c\uc774\uc5c8\ub2e4. servAddr.sin_port = htons(atoi(argv[2]));&nbsp;\ubcf4\uae30\uc5d0\ub294 \ubb38\uc81c\uac00 \uc5c6\ub294 \ubd80\ubd84\uc774\ub2e4. \uc815\uc0c1\uc791\ub3d9\ud558\ub294 \uc18c\uc2a4\uc600\ub2e4.(..\ub9ac\ub205\uc2a4\uc5d0\uc11c \ud655\uc778) &nbsp;\ubb3c\ub860 warning \uc744 &hellip; <a href=\"http:\/\/pchero21.com\/?p=424\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[40],"tags":[128,130,280,416,679,756],"_links":{"self":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/424"}],"collection":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=424"}],"version-history":[{"count":0,"href":"http:\/\/pchero21.com\/index.php?rest_route=\/wp\/v2\/posts\/424\/revisions"}],"wp:attachment":[{"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/pchero21.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}