gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master acc2fd7: Corrected typo in variable name


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master acc2fd7: Corrected typo in variable name
Date: Mon, 5 Sep 2016 09:31:03 +0000 (UTC)

branch: master
commit acc2fd7132bf1f2b6af57f23a6d580b8107672bd
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Corrected typo in variable name
    
    The `us' (an unsigned-short pointer) variable was mistakenly written as
    `ui' (for the unsigned-integer pointer) that was used above. This has been
    corrected. Great thanks to Yahya Sefidbakht for his help in finding this
    typo.
---
 lib/fits.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/fits.c b/lib/fits.c
index 38ecb07..a7ec02d 100644
--- a/lib/fits.c
+++ b/lib/fits.c
@@ -366,7 +366,7 @@ gal_fits_datatype_blank(int datatype)
       if(us==NULL)
         error(EXIT_FAILURE, errno, "%lu bytes for blank TUSHORT",
               sizeof *us);
-      *ui=GAL_FITS_USHORT_BLANK;
+      *us=GAL_FITS_USHORT_BLANK;
       return us;
 
     case TULONG:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]