----- Original Message ----- > From: "Peter Schiffer" <pschi...@redhat.com> > To: libcg-devel@lists.sourceforge.net > Sent: Wednesday, October 9, 2013 12:23:15 PM > Subject: [Libcg-devel] [PATCH] Incorrect cast > > This patch fixes incorrect cast in cgclassify.c file. > > Signed-off-by: Peter Schiffer <pschi...@redhat.com> Acked-by: Ivana Hutarova Varekova <varek...@redhat.com> > --- > src/tools/cgclassify.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/tools/cgclassify.c b/src/tools/cgclassify.c > index 17f16ec..ead0c9d 100644 > --- a/src/tools/cgclassify.c > +++ b/src/tools/cgclassify.c > @@ -176,7 +176,7 @@ int main(int argc, char *argv[]) > } > > for (i = optind; i < argc; i++) { > - pid = (uid_t) strtol(argv[i], &endptr, 10); > + pid = (pid_t) strtol(argv[i], &endptr, 10); > if (endptr[0] != '\0') { > /* the input argument was not a number */ > fprintf(stderr, "Error: %s is not valid pid.\n", > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > _______________________________________________ > Libcg-devel mailing list > Libcg-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libcg-devel >
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel