]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Application/ShellCTestApp/ShellCTestApp.c
fix parameter type
[mirror_edk2.git] / ShellPkg / Application / ShellCTestApp / ShellCTestApp.c
index 0a50278d7f4a1284484d081f15028f5707d93274..8b3762e1676d04e88452e06fdeccebccfb796014 100644 (file)
@@ -1,5 +1,6 @@
 /** @file\r
 /** @file\r
-  This is THE shell (application)\r
+  This is a test application that demonstrates how to use the C-style entry point \r
+  for a shell application.\r
 \r
   Copyright (c) 2009, Intel Corporation                                                         \r
   All rights reserved. This program and the accompanying materials                          \r
 \r
   Copyright (c) 2009, Intel Corporation                                                         \r
   All rights reserved. This program and the accompanying materials                          \r
@@ -13,7 +14,6 @@
 **/\r
 \r
 #include <Uefi.h>\r
 **/\r
 \r
 #include <Uefi.h>\r
-\r
 #include <Library/UefiLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/ShellCEntryLib.h>\r
 #include <Library/UefiLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/ShellCEntryLib.h>\r
@@ -35,7 +35,7 @@
 INTN \r
 EFIAPI \r
 ShellAppMain (\r
 INTN \r
 EFIAPI \r
 ShellAppMain (\r
-  IN INTN Argc, \r
+  IN UINTN Argc, \r
   IN CHAR16 **Argv\r
   )\r
 {\r
   IN CHAR16 **Argv\r
   )\r
 {\r
@@ -47,4 +47,4 @@ ShellAppMain (
   }\r
 \r
   return 0;\r
   }\r
 \r
   return 0;\r
-}
\ No newline at end of file
+}\r