Author: akhaldi
Date: Wed May 1 10:00:06 2013
New Revision: 58898
URL:
http://svn.reactos.org/svn/reactos?rev=58898&view=rev
Log:
[NET]
* Fix MSVC build.
Modified:
trunk/reactos/base/applications/network/net/cmdHelpMsg.c
Modified: trunk/reactos/base/applications/network/net/cmdHelpMsg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/net/cmdHelpMsg.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/net/cmdHelpMsg.c [iso-8859-1] Wed May 1
10:00:06 2013
@@ -14,12 +14,14 @@
{
wchar_t *endptr;
LPSTR lpBuffer;
+ long errNum;
+
if(argc<3)
{
puts("Usage: NET HELPMSG <Error Code>");
return 1;
}
- long errNum=wcstol(argv[2], &endptr, 10);
+ errNum = wcstol(argv[2], &endptr, 10);
if(*endptr != 0)
{
puts("Usage: NET HELPMSG <Error Code>");