Return-Path: william@bourbon.usc.edu Delivery-Date: Sun Oct 5 21:00:41 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m9640frB015815 for ; Sun, 5 Oct 2008 21:00:41 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m9646MkG010942 for ; Sun, 5 Oct 2008 21:06:22 -0700 Message-Id: <200810060406.m9646MkG010942@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: CS551: Final Project: Compilation warning Date: Sun, 05 Oct 2008 21:06:22 -0700 From: Bill Cheng Someone wrote: > We get the following warning when we compile the code: > > main.h: In function 'GetUOID': > main.h:111: warning: pointer targets in passing argument 1 of 'SHA1' differ > in signedness > main.h:111: warning: pointer targets in passing argument 3 of 'SHA1' differ > in signedness > > we have used -Wall option. > we are using a gcc compiler. > > How do we get rid of this? You should be able to figure this out! Read the warning message very carefully and try to understand what it's saying. Then do "man SHA1" and see if it matches what the warning message is saying. -- Bill Cheng // bill.cheng@usc.edu