[LON-CAPA-cvs] cvs: capa /capa51/pProj capaCommon.c

raeburn raeburn at source.lon-capa.org
Sat Apr 27 12:36:30 EDT 2024


raeburn		Sat Apr 27 16:36:30 2024 EDT

  Modified files:              
    /capa/capa51/pProj	capaCommon.c 
  Log:
  - Prevent implicit-int error when attempting to compile capaCommon.c when
    building capa.so on Fedora 40.
  
  
Index: capa/capa51/pProj/capaCommon.c
diff -u capa/capa51/pProj/capaCommon.c:1.29 capa/capa51/pProj/capaCommon.c:1.30
--- capa/capa51/pProj/capaCommon.c:1.29	Tue Jan 23 07:26:09 2007
+++ capa/capa51/pProj/capaCommon.c	Sat Apr 27 16:36:30 2024
@@ -150,7 +150,7 @@
 
 int
 inquery_a_lock(sp,cmd,type,offset,whence,len)
-FILE *sp;int cmd;off_t offset;int whence;off_t len;
+FILE *sp;int cmd;short int type;off_t offset;int whence;off_t len;
 {
   struct flock lock;
   int    fd;




More information about the LON-CAPA-cvs mailing list